summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-04-15two missing splx in error path; ok drahnTheo de Raadt
2010-04-15Add some missing splx()'s (and missing simple_unlock() no-ops) in pmap errorMark Kettenis
paths. Spotted by Mike Belopuhov.
2010-04-15Turn DIO_INHOLE() into a function, returning the next select code to probe at;Miod Vallat
and skip function codes 132 to 135, inclusive, on models 362 and 382 - this is a fake DIO device probably intended to let non-SGC aware (i.e. legacy) HP-UX lowlevel code be able to ``detect'' a frame buffer. This change (as well as letting sgc attach) is untested due to the lack of any 3x2 hardware, but shouldn't make things worse.
2010-04-15Let sgc(4) attach on models 362 and 382 - recent documents uploaded toMiod Vallat
bitsavers confirm the long suspicion the onboard frame buffer on these machines is an SGC device.
2010-04-15Match the interleaving scheme used on dual-PIMM capable IP35 systems (i.e.Miod Vallat
every ip35 but Fuel), when fetching spdmem records, so the DIMM number reported matches the numbering on the PIMM.
2010-04-15- fix bunch of use-after-free bugs found by splint;Marco Peereboom
- support sharing a phy port by devices (should work fine with sas expanders that share phy port number if such exist); - remove dead timeout_xs stuff; - make mpii_push_reply take a struct mpii_rcb argument instead of an address (like mpi does); - use SLIST instead of TAILQ to manage ccbs (ala mpi); - rototil openfirmware attachment code as it was copied verbatim (but with an error) from mpi and clearly wasn't tested; - increase reset delay to 240ms for stability purposes; - sprinkle some 'default' cases in a bunch of switch statements; - remove several splbio's from the code that runs on boot; - clarify/simplify the code that deals with sc_vd_id_low; - some slight cleanup.
2010-04-15Print both the tx and the rx interrup vector numbers instead of the tx numberMark Kettenis
twice. From Ted Patterson.
2010-04-15Use IPL_TTY instead of IPB_BIO as suggested by oga.Marco Peereboom
Tested by me and mlarkin on amd64 and i386 ok oga
2010-04-15new Hawking run(4) idsDamien Bergamini
from Linux
2010-04-15new Hawking run(4) ids.Damien Bergamini
from Linux
2010-04-15Allow multiple xbow to attach, to attach devices on multiple node systems.Miod Vallat
2010-04-15spacingTheo de Raadt
2010-04-15add yet another TEMPerHUM device identifier.Yojiro Uo
Reported by naddy@
2010-04-15use SENSOR_HUMIDITY instead of SENSOR_PERCENT.Yojiro Uo
support new TEMPer sensors: TEMPer, TEMPer1, TEMPer2, TEMPerNTC ok jsg@, deraadt@
2010-04-15use SENSOR_HUMIDITY instead of SENSOR_PERCENT.Yojiro Uo
and add LED blink routine. ok jsg@, deraadt@
2010-04-15add SENSOR_HUMIDITY to sensor framework to handle humidity valuesYojiro Uo
ok kettenis@ xsa@ sobrado@ krw@ deraadt@
2010-04-14clean Sitecom run(4) ids.Damien Bergamini
use real product names, add some ids, remove some ids that never made it into production.
2010-04-14clean Sitecom run(4) ids.Damien Bergamini
use real product names, add some ids, remove some ids that never made it into production.
2010-04-14more otus(4) idsDamien Bergamini
2010-04-14more otus(4) idsDamien Bergamini
2010-04-14syncKevin Lo
2010-04-14add support for Quanta Q101.Kevin Lo
ok jsg@
2010-04-12Enable transparent console cursor by adding a driver internal characterMarcus Glocker
backing store.
2010-04-12Make hardware generate 802.11 sequence numbers (except for unicastDamien Bergamini
QoS data frames) such that the same counter is used for beacons, management frames and non-QoS data frames. This will help clients that don't like jumps in sequence numbers, like the FreeBSD duplicate detection code. Found after an interesting discussion with Yao Zhao.
2010-04-12Don't jump the queue if we have to wait on the client side becauseBob Beck
the nfs_bufq is full - instead tsleep waiting for one of our nfsiod's to free up space for us in the queue so we can enqueue on the end. ok blambert@, tedu@, oga@
2010-04-12Radeon HD3200 works; from kili@.Owain Ainsworth
2010-04-12Some of the line disciplines want to check for suser. Better to pass themTed Unangst
a process instead of using curproc. ok deraadt
2010-04-12dont need to call scsi_done with splbio. the midlayer protectsDavid Gwynne
itself now, its not the adapters responsibility anymore.
2010-04-12i snuck fine grained locking into the midlayer as part of all theDavid Gwynne
other stuff ive been doing in here. everything that needs protection inside the midlayer and the scsi device drivers (sd, cd, etc) uses mutexes now. this pushes splbio out of the midlayer. splbio is only taken before biodone is called now. ok beck@ marco@ krw@ deraadt@. theyre all terrified, but they all say if we're going to do then now is the right stage of the dev cycle.
2010-04-11In sys_ioctl(), change the type of stkbuf to u_long to make sure it isMark Kettenis
properly aligned. Otherwise we lose on strict alignment architectures if the compiler happens to give it a smaller alignment. Fixes another gcc4 problem on sparc64. ok miod@
2010-04-11Send "STANDBY IMMEDIATE" command to ATA disks upon suspend. For this to work,Mark Kettenis
pciide(4) needs to formward DVACT_SUSPEND and DVACT_RESUME events to its children, so do that. Gets rid of the nasty "click" sound from the disk on many laptops. ok marco@, jsg@
2010-04-11Make gcc4 happy. From NetBSD. Probably reported to me before by jsg@ orMark Kettenis
robert@.
2010-04-10fix athn_stop_tx_dmaDamien Bergamini
2010-04-10grrr var names in protosMarco Peereboom
2010-04-10sprinkle some bus_dmamap_sync around frame access.Marco Peereboom
prompted by oga
2010-04-10Remove a bunch of if 0ed out code that used vtophys. it hasn't been usedOwain Ainsworth
by now, probably won't be in the future. ok krw. "Correctski" from miod@ after I put back another chunk he wanted to remain.
2010-04-10Make this compile with gcc4. Cleanup some debug code while I'm there.Mark Kettenis
2010-04-10Add radeon 4850; from Sviatoslav Chagaev (slava at zb dot lv), ta.Owain Ainsworth
2010-04-10pmap_extract() does the equivalent of vtophys if pmap_kernel(), so instead ofOwain Ainsworth
doing if (p != NULL) pmap_extract() else vtophys() in a loop, just do pmap_extract unconditionally. ok miod@ (he found a typo, all hail miod!)
2010-04-10The statement c != '\0' != 0 doesn't make an awful lot of sense, so drop theMark Kettenis
!= 0 bit. Makes GCC 4.2.1 happy.
2010-04-10some frees that were forgottenMarco Peereboom
2010-04-10always do a full reset when changing the channel on AR5008 devices,Damien Bergamini
until i figure out why TX sometimes gets stucked. a full reset was already necessary on AR9280 devices, so there is no change for these devices.
2010-04-10Intel Centrino Advanced-N 6200 G2 adapters have their own hardwareDamien Bergamini
revision type.
2010-04-10regenDamien Bergamini
2010-04-10new Intel Centrino Advanced-N 6200 G2 idDamien Bergamini
2010-04-10enable debug mode for >=RT3090Damien Bergamini
add a wait flag to rt2860_mcu_cmd to wait for command completion more RT3090 RF initialization code
2010-04-09make more bettah. instead of doing:Owain Ainsworth
switch(type) { case VREG: /*something */ break; case VLNK: /* something */ break; default: panic("wtf?"); } do_something_that_doesn't_change_type(); switch(type) { case VREG: /* nowt */ break; case VLNK: n = 0; break; default: panic("wtf?"); } be a bit less silly and replace the second switch with: if (type == VLNK) n = 0; ok beck@, blambert@
2010-04-09In the nfs bio functions, instead of looking at an invalid vnode type,Owain Ainsworth
deciding to do nothing, printing about it and continuing along our merry way without even erroring the sodding buffer, just panic. by this point we are liked very fucked up anyway. found in either edmonton or stockholm then forgotten. ok beck@, blambert@
2010-04-09Attach to BCM5481, BCM5482. From Brad.Stuart Henderson
2010-04-09encif is a global variable and thus pre-zeroed, don't bother bzero()ingOwain Ainsworth
it after the fact. ok henning@, claudio@