summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-08-04group all of the on-stack variables that are uses by the nfsm_macrosThordur I. Bjornsson
to keep the data munging "state" into an nfsm_info structure. Each function now has this structure on its stack, and it and its members are now passed around so that the macros/functions can work there magic. this will make removing the nfsm_* macros way easier. Idea/code picked up from DragonflyBSD. Tested by krw@, jacekm@ and myself. OK blambert@.
2009-08-03Comment fixes and code tidy-up (whitespace and more consistentStuart Henderson
numeric values) from Brad. No binary change.
2009-08-03timeout_add -> timeout_add_msecBret Lambert
ok jsg@
2009-08-03timeout_add -> timeout_add_msecBret Lambert
ok dlg@
2009-08-03By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-08-02Preserve joined interface groups when tun(4) is switchedMarco Pfatschbacher
between layer 2 and 3 tunneling mode. OK claudio@, markus@
2009-08-02timeout_add -> timeout_add_msecBret Lambert
ok mglocker@ jsg@
2009-08-02timeout_add -> timeout_add_msecBret Lambert
ok miod@
2009-08-02Dynamic buffer cache support - a re-commit of what was backed outBob Beck
after c2k9 allows buffer cache to be extended and grow/shrink dynamically tested by many, ok oga@, "why not just commit it" deraadt@
2009-08-02Never return nonzero in a device activate method invoked with DVACT_ACTIVATE,Miod Vallat
for this prevents it to be invoked with DVACT_DEACTIVATE later. This had been sweeped some time ago already, but bad constructs crept in again.
2009-08-02Minor KNF from Brad. No binary change.Stuart Henderson
2009-08-02syncStuart Henderson
2009-08-02Add PCIE/KT devices for Intel Q45. From Brad; in datasheet/pciids,Stuart Henderson
PCIE also in Windows inf.
2009-08-01timeout_add -> timeout_add_msecBret Lambert
ok michele@ claudio@
2009-07-31remove unused variable definition; unbreaks kernel build.Stuart Henderson
"do it" marco@
2009-07-31timeout_add -> timeout_add_msecBret Lambert
ok jakemsr@
2009-07-31Factor out code for checking if a chunk is already in use.Joel Sing
ok marco@
2009-07-31Clean up debug droppings.Joel Sing
ok marco@
2009-07-31raidp is degraded when n - 1 disks are online, not offline.Joel Sing
ok marco@
2009-07-31on error, just call unload() instead of doing all the actions that itOwain Ainsworth
would do manually. sparc64 does a similar thing already. ok kettenis@
2009-07-31timeout_add -> timeout_add_msecBret Lambert
ok art@
2009-07-31timeout_add -> timeout_add_msecBret Lambert
ok jsg@
2009-07-31timeout_add -> timeout_add_msecBret Lambert
ok jsg@
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-07-31timeout_add -> timeout_add_msecBret Lambert
ok mpf@
2009-07-30Make sure the BUS_SPACE_BARRIER_xxx constants are all non-zero and can beMiod Vallat
or'ed together, even on platforms where bus_space_barrier() ignores the barrier argument yet.
2009-07-30Get rid of the obsolet BUS_BARRIER_xxx constants for bus_space_barrier(), onlyMiod Vallat
provide and use BUS_SPACE_BARRIER_xxx.
2009-07-30Put the correct value in the I/O BAR for ACX100 cards.Miod Vallat
ok claudio@
2009-07-30timeout_add -> timeout_add_msec + associated cleanupBret Lambert
ok miod@
2009-07-30We enable POOL_DEBUG (except in a release)Theo de Raadt
2009-07-30Disable interrupts when we enter cpu_intr() and enable them again when leavingMark Kettenis
that function. It seems this function was intended to be called with interrupts disabled but that is not (no longer?) the case. As a result there were some races accessing the list of interrupt handlers and we would leave the function with interrupts disabled if there were any interrupts pending. This could make us end up in the idle loop with interrupts disabled, which would "hang" the machine. Found with help from deraadt@
2009-07-30make sure we only ever try to read out post-op attributesThordur I. Bjornsson
or wcc data if we have a proper reply. found the hard way by ariane@, tested by ariane@. OK blambert@
2009-07-30Simplify the ipgphy(4) attach routine a bit by making use ofStuart Henderson
mii_phy_add_media() to set the media types and adjust the anegticks as appropriate. From FreeBSD via Brad. Tested by jasper@. No objections after being posted on tech@.
2009-07-30Attach to VSC8211, CS8244, VSC8601 PHYs. From Brad.Stuart Henderson
2009-07-30Attach to BCM5761. From Brad.Stuart Henderson
2009-07-30regenStuart Henderson
2009-07-30Add BCM5761 PHY, from Brad.Stuart Henderson
2009-07-29Fix bogus comment; requested by deraadt@Mark Kettenis
2009-07-29Get rid of non-equivalent aliases of the pcb by moving the fpu state outMark Kettenis
of the pcb and using the p_addr member of 'struct proc' to calculate the address of the kernel stack when switching to virtual mode after taking a trap. Remove the now unecessary cache flushes; they're actually harmful since they create non-equivalent aliases. This seems to fix the memory corruption we have been observing from time to time. This diff does not rename fpu_curpcb, which is now somewhat incorrectly named. I hope to change things back again as soon as we are able to map the pcb 1:1.
2009-07-29timeout_add -> timeout_add_msecBret Lambert
ok martynas@
2009-07-29sitecom needs commaMartynas Venckus
2009-07-29- WL168 -> WL168V4Martynas Venckus
- P5B, WUSB54GCV2, WL168V1 ok jsg@
2009-07-29syncMartynas Venckus
2009-07-29regenDamien Bergamini
2009-07-29PCI ids for Ralink RT3090/RT3390 devicesDamien Bergamini
2009-07-29- add couple of new urtw, Linksys WUSB54GC v2, Sitecom WL-168 v1.Martynas Venckus
from realtek windows driver - and also P5B Deluxe; from asus - WL168 is actually WL168 rev. 4 ok jsg@
2009-07-29timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-29regenDamien Bergamini