summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-10-13Be sure to spl0() in proc_trampoline, so that kernel threads start at IPL_NONE.Miod Vallat
2007-10-13There is no need to fiddle with spl in cpu_idle_{enter,leave}, actually.Miod Vallat
2007-10-13Remove leftovers art forgot to prune...Miod Vallat
2007-10-13Add Yukon-2 PHY powerdown bits.Mark Kettenis
2007-10-13sync.Marc Balmer
2007-10-13Add two Gude time signal station receivers.Marc Balmer
2007-10-13Fix cpu_exit() comments to be more closer to reality.Miod Vallat
2007-10-13Do not splhigh() before invoking sched_exit(), sched_exit() will do it better.Miod Vallat
2007-10-13Various typos in comments; Joel SingMiod Vallat
2007-10-13add the AR5416 and AR5418 device IDs (needs some more testing)Reyk Floeter
2007-10-12The newer single chip Atheros wireless chipsets like the AR5424,Reyk Floeter
AR2423 etc. are mostly compatible to the AR5212 but use a different algorithm to set the 2GHz RF channel, that's why they didn't work in OpenBSD. I figured out that the channels were set with an offset, setting channel 11 in the driver caused the hardware to set channel 5 etc. Because I didn't figure out the pattern to fix the algoritm yet, I fixed it in a workaroundish way by defining a small "table" with offsets for the 11b channels to get the right results. For example, if we want to set channel 11 (2462MHz), we add an offset of -30MHz, and feed the result (2432MHz ^= channel 5) into the unmodified AR5212/AR5112 RF setup function. Long description for a commit message, but it needed some time to figure it out. It is still not perfect, needs some more work, and it doesn't work in all cases; but it allows to use newer chipsets in 11b mode restricted to 1 or to 2Mbit/s. 11a mode seems to work without problems so far.
2007-10-12regenBrad Smith
2007-10-12Add some more Intel em(4) PCI ids.Brad Smith
From FreeBSD ok dlg@
2007-10-11probe for Winbond W83793G; tested by jon.steel@esentire.com; suggestions/ok ↵Constantine A. Murenin
deraadt@
2007-10-11Make BGE_JUMBO_FRAMELEN big enough to include vlan tag. Fixes problems withMark Kettenis
receiving jumbo frames on bge(4). ok krw@
2007-10-11treat usb vendor/product names as a locator, and have usbd_print handle it,Theo de Raadt
so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
2007-10-11serialize usbd_probe_and_attach(); only let one usb device be match'd andTheo de Raadt
attached at a time; ok kettenis
2007-10-11syncTheo de Raadt
2007-10-11Add device ID used by Commell MP-954GPSStuart Henderson
ok deraadt@
2007-10-11enable puc(4) for GENERIC on armishStuart Henderson
ok deraadt@
2007-10-11When walking the tree yo find _PRT methods, check whether the device isMark Kettenis
actually enabled and functioning. Similar to what we do for _INI. ok weingart@, beck@
2007-10-11sched_lock_idle and sched_unlock_idle are obsolete now.Artur Grabowski
2007-10-11hypenate memory type for readability.Jonathan Gray
2007-10-10prepare for the futureTheo de Raadt
2007-10-10correct : printing; ok jsgTheo de Raadt
2007-10-10GENERIC.MP dirs will show up here some timeTheo de Raadt
2007-10-10Disable PSL_POW code for now in cpu_idle_cycle, because it does not yetTheo de Raadt
do the cache flush / instruction cache disable / tlb invalidate dance. For some reason in a switchto world this suddenly matters or machines become really slow running NFS... huh? figured out with kettenis
2007-10-10Make context switching much more MI:Artur Grabowski
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok
2007-10-10Fix some obviously bogus code in vge_newbuf(). Should fix PR 5582.Mark Kettenis
ok claudio@
2007-10-10Add support for the RTL8211B PHY based on a patch byJonathan Gray
Michael Eisele for FreeBSD. This fixes nfe/rgephy for ckuethe & couderc. Tested on re/rgephy by pyr.
2007-10-10malloc+bzero -> malloc+M_ZERO. Use 'malloc(sizeof(*p) ...' idiom.Kenneth R Westerback
This completes my bzero/memset(,0,) -> M_ZERO sweep of the tree. ok kettenis@
2007-10-10Change argsize from size_t to short, since it only stores a shortRay Lai
value. Fixes a format string error. Pointed out by deraadt, OK miod.
2007-10-10Rework the debug dmesg to perform a more complete codec dump.Deanna Phillips
Tested by jmc, ckuethe, kettenis and jakemsr.
2007-10-10syncTheo de Raadt
2007-10-10shorteningTheo de Raadt
2007-10-10syncTheo de Raadt
2007-10-10oopsTheo de Raadt
2007-10-10syncTheo de Raadt
2007-10-10apple products; from dunceorTheo de Raadt
2007-10-10regenDavid Gwynne
2007-10-10add the pci product id for the Mellanox ConnectX EN adapters.David Gwynne
2007-10-10regenDavid Gwynne
2007-10-10add the mellanox vendor idDavid Gwynne
2007-10-09malloc+bzero -> malloc+M_ZERO. Use 'malloc(sizeof(*p) ...' idiom.Kenneth R Westerback
2007-10-09malloc+memset(,0,) -> malloc+M_ZERO. 'Fixes' not zeroing of allKenneth R Westerback
allocated memory, as I can't see an obvious initialization of the memory elsewhere. NetBSD uses M_ZERO here.
2007-10-09Ops, forgot debug printf.Marcus Glocker
2007-10-09Setup channels with OFDM flags. Permit user to set fix rates.Marcus Glocker
2007-10-09MALLOC -> mallocGilles Chehade
ok krw@
2007-10-09we have been knocking out i2c when ipmi exists on a machine (becauseTheo de Raadt
there are ipmi bmc's that apparently violate i2c bus master locking). but those problems bite us only for sensors which we re-scan every few seconds, and then we hit the ipmi bmc's races. for non-sensor devices (like spdmem) it is probably ok to look once. let's try that method for a while and see if anyone sees breakage.
2007-10-09Load the firmware files just one time per device lifecycle (attach time)Marcus Glocker
instead on every `ifconfig up'.