summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-10-14Provide a way to attach spdmem(4) by faking an I2C bus with EEPROMs withMark Kettenis
contents from OpenFirmware. ok deraadt@
2007-10-14Implement OF_getproplen().Mark Kettenis
ok deraadt@
2007-10-14fix newlinesTheo de Raadt
2007-10-14'expresion' -> 'expression'. Reported by Jung on tech@.Kenneth R Westerback
2007-10-14wbng(4) driver for Winbond W83793G Hardware Monitor; 'commit it' deraadtConstantine A. Murenin
2007-10-14print the name of the chip on attach; ok deraadtConstantine A. Murenin
2007-10-14One more cpu_switchto() leftover.Miod Vallat
2007-10-14'syncronize' -> 'synchronize'. From Diego Casati.Kenneth R Westerback
2007-10-14Fix a panic which happens with ACX100 chipsets in ieee80211_add_xrates()Marcus Glocker
because the drivers tries to set extended rates for a 11b chip. Tested and OK winiger@
2007-10-14Disable timer/compare interrupts on the macebus. This prevents interruptJoel Sing
storms from occurring on IRQ 6. ok miod@
2007-10-14attach Planex GWUS54GD, from freebsdFelix Kronlage
ok damien@
2007-10-14regenFelix Kronlage
2007-10-14add device id for Planex GWUS54GD, from freebsdFelix Kronlage
ok damien@
2007-10-13Uncomment rule to build bcopy.S, and use that as our bcopy(9) implementation.Mark Kettenis
2007-10-13Make this actually work by using the right register numbers. In the conversionMark Kettenis
from hppa the fact that t1-t4 actually number down from r22-r19 got somehow lost.
2007-10-13really correct : printing; ok deraadt@Constantine A. Murenin
2007-10-13Remove alot of dead kerberos code (add sane comments too).Thordur I. Bjornsson
Cleanup and partly redo the way we create the RPC header, by having nfsm_rpchead() do a bit more work. Right now this is pretty RPCAUTH_UNIX centric, but since it is the only auth method we support right now thats fine. Make sure we can never generate a zero xid, thats forbidden by the RFC. Misc cleanup. tested by a few.
2007-10-13Add support for BCM5906.Mark Kettenis
ok deraadt@
2007-10-13remove unneeded declarations that shadows existing vars; ok by many.Federico G. Schwindt
2007-10-13remove unneeded declarations that shadows existing vars; ok by many.Federico G. Schwindt
2007-10-13Enable interrupts in secondary processors before invoking cpu_switchto(),Miod Vallat
rather the expecting it to do this for us.
2007-10-13It is no longer necessary to fiddle with spl in cpu_idle_{enter,leave} nowMiod Vallat
that proc_trampoline has been fixed.
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