summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2009-11-24Thoroughly reset the chip upon suspend and give the PHY a chance toMark Kettenis
re-initialise itself afterward. ok deraadt@, mlarkin@, claudio@, pirofti@
2009-11-24for MCLGETI to work correctly drivers need to first dequeue all availableClaudio Jeker
packets and then refill the RX ring. When not done this way the rx ring can not grow correctly. Tested by jmc@, OK deraadt@, kettenis@
2009-11-24msk_newbuf() had an off by one when putting the packet onto the clusterClaudio Jeker
and cleared the mbuf pointer of the next element, causing a mbuf leak. While there also ensure that the valid bit of the first buffer is only set when the full chain got assembled. Tested by jmc@, ok kettenis@
2009-11-24implement suspend and resumeJacob Meuser
2009-11-24Bring multicast/promisc handling in line with other network drives.Joel Sing
From Brad.
2009-11-24Save state on suspend and restore that state and the bridge windows on resumeMark Kettenis
such that devices behind bridges get a chance to work after resume. ok deraadt@, mlarkin@
2009-11-23Make vge(4) detachable.Mark Kettenis
ok jsg@, deraadt@
2009-11-23some whitespace cleanups.Owain Ainsworth
there's more in here that needs doing though.
2009-11-23move the lastclose function into i915_drv.c where it belongs.Owain Ainsworth
kill some more dead protos while i'm touching the lines around them anyway.
2009-11-23must return result of config_activate_childrenTheo de Raadt
2009-11-23pci should return the result of it's children's suspend/resume calls backMike Larkin
to its parent. handle suspend failure case and unwind if devices have an activate function that returns failure. ok deraadt@, kettenis@
2009-11-23Add azalia(4) suspend/resume stabs, now some laptops can go all the way.Paul Irofti
Okay deraadt@.
2009-11-23Pad the ringbuffer with NOOPs before wrapping around, instead ofOwain Ainsworth
wrapping our commands over. The documentation says that wrap must not happen in the middle of commands. and upstream have seen some odd bugs that may be attributed to this. Based on a diff by Chris Wilson (ickle) from Intel to the linux driver.
2009-11-23remove a debug printf that won't compile anymore.Owain Ainsworth
2009-11-23G4X chipsets actually have a slightly larger vblank counter register,Owain Ainsworth
so tell the vblank layer this. from upstream, ages ago.
2009-11-23Make it so that instead of grabbing and ungrabbing the spinlock one line apart,Owain Ainsworth
we just grab it once and drop it when we're done. will reduce spl/splx wrangling. While here, clean it up a little bit.
2009-11-23nuke some prototypes from functions that died a fair while ago.Owain Ainsworth
2009-11-23Suspend/resume goop for inteldrm, essentially a big pile of save/restoreOwain Ainsworth
registers (man these things have a lot of state!). ok pirofti@ (who did the activate function and tested).
2009-11-23Later on this will do much more work on suspend/resume, but for nowTheo de Raadt
it must call it's children. ok kettenis
2009-11-23Walk our children in the activate function.Theo de Raadt
ok mlarkin pirofti
2009-11-23regenYojiro Uo
2009-11-23add netmos nm9901 and NEC USB host controllerYojiro Uo
ok deraadt@
2009-11-23bnx(4) is a bit special. The chip itself is capable of swapping endianessClaudio Jeker
so there is no need for htoleXX calls. The only thing needed is the correct layout of the DMA-ed structures. Additionally it uses PAGE_SIZE but assumed that it is always 4k. Fix the macros that failed to respect that so that it works on 8k PAGE_SIZE systems. This makes bnx(4) work on sparc64. Tested on amd64 by dlg@. OK dlg@, deraadt@
2009-11-23add NetMos NM9901 multiple peripheral board supportYojiro Uo
ok deraadt@
2009-11-23PCI suspend/resume plumbing. This code is currently not called.Mike Larkin
ok kettenis@
2009-11-21attach to the AR9227 tooDamien Bergamini
2009-11-21EP80579 SATAJonathan Gray
2009-11-19Add code to set up windows on PCI-PCI bridges left unconfigured by theMark Kettenis
firmware. Fixes some (laptop) machines with ethernet and/or wiireless behind a bridge. Some help from miod@. Tested by many.
2009-11-19Add PPB_IO_SHIFT #define to mirror PPB_MEM_SHIFT.Mark Kettenis
2009-11-18regenJonathan Gray
2009-11-18More EP80579 devices.Jonathan Gray
2009-11-17Tidy up promisc/multicast handing. From Brad. Tested by me.Mark Kettenis
2009-11-17nuke the temperature sensor.Damien Bergamini
it is totally useless since (contrary to the one in iwn(4)) it is not in any known unit (can't be converted to degK or degC).
2009-11-17Tidy up promisc/multicast handling. Tested by myself (and earlierStuart Henderson
versions by some others who didn't test with both multicast and promiscuous at the same time). From Brad.
2009-11-16regenJonathan Gray
2009-11-16Some more Cavium devices. Prompted by a dmesg from Jason George.Jonathan Gray
2009-11-14athn(4), a driver for Atheros 802.11a/g/n devices.Damien Bergamini
written from scratch based on the vendor driver for Linux (ath9k). AR9285 and AR9287 parts are 100% untested. only basic functionnalities are enabled for now. committed over an AR9281. "commit" deraadt
2009-11-13sizeof -> nitems, found by parfait; ok dlgTheo de Raadt
2009-11-11fix memory leak found by parfaitJacob Meuser
2009-11-11memory leaks found by parfait; ok ogaTheo de Raadt
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
2009-11-09Link state change interrupt was not generated due to a missing bit inDavid Gwynne
the MAC event register. fix from atte dot peltomaki at iki dot fi tested by me on 5708 and 5709
2009-11-09syncStuart Henderson
2009-11-09- remove wrongly-sorted duplicate entriesStuart Henderson
- add some unknown Intel devices in dmeslog from infinst911_autol.zip ok jsg@
2009-11-08regenDamien Bergamini
2009-11-08- remove non-production pci ids for 6050 3x3Damien Bergamini
- wakeup device earlier in read_prom - fix ampdu_tx_start (not used yet) - initialize ht_caps field and rx mcs set (not used yet) - start processing compressed blockack notifications (does nothing for now)
2009-11-07Change sgi system identification from a single system type list, to a smallerMiod Vallat
system type list (which really is the system family) and a subsystem type. No functional change yet.
2009-11-05Add a new PCIOCGETROMLEN ioctl, to give users of PCIOGETROM a chance toMark Kettenis
allocate a buffer of the right size. ok oga@
2009-11-05sort pci_matchid's, from Brad.Stuart Henderson
2009-11-05Make compile on 32 bit as well.Marco Peereboom
From James Giannoules