summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2002-01-21syncNathan Binkert
2002-01-21Another pci->ohci chipNathan Binkert
2002-01-20make all audio drivers use the new allocm and round_buffersize decl's.Eric Jackson
will ease porting, and generally cleans up a bit
2002-01-19From Patrik Lindergren (patrik@ipunplugged.com):Jason Wright
* make the driver big-endian aware * handling for DMA errors * move some allocations to attach From me: whitespace clean up and vtophys removal (almost works on sparc64)
2002-01-19syncNathan Binkert
2002-01-19Add Intel PRO/1000XTNathan Binkert
2002-01-11Check result from malloc(9) when using M_NOWAIT. fgsch@ okThomas Nordin
2002-01-09regenMichael Shalayeff
2002-01-09add corega wavelanMichael Shalayeff
2002-01-09o There's no such thing as a source overrun, remove the definitionJason Wright
o enable illegal read/write interrupts on 7811 (mainly for debugging)
2002-01-08Add support for the Hifn 7811 (Thanks to GTGI for donating the card).Jason Wright
While here, avoid resetting the card so often during the ram probe [speeds up autoconf and simplifies the driver a bit]. Also, add a missing argument to a debugging printf() (no longer ever called because the abort timers are disabled =)
2002-01-08Remove nofn driver... it was much easier than I thought to support 7811Jason Wright
in the hifn7751 driver.
2002-01-07Enough of a driver for 7811 to poll the random number generator for bitsJason Wright
2002-01-07use flags instead of options to choose the tea5757 vs tea5759.Michael Shalayeff
from Vladimir Popov <jumbo@narod.ru>
2002-01-06remove bogus diagnostic check.Eric Jackson
pr#2298
2002-01-04add 600x read for 744 rev < 2 - from netbsdEric Jackson
cleanup dmesg output
2002-01-03Add the pci_findvendor functionNathan Binkert
If compiled with PCI_VERBOSE, this function looks up a vendor string based on a vendor id. Otherwise, it returns NULL. From NetBSD
2002-01-02use pci_mapreg_map() instead of pci_io_find+bus_space_mapMichael Shalayeff
2002-01-02at least ; required after label or case; openbsd@davidkrause.comTheo de Raadt
2001-12-31unmap io space on failures and happy new year in russianMichael Shalayeff
2001-12-31support playing mono; from Kazuhiko Fukuhara <zaa83571@oak.zero.ad.jp>Michael Shalayeff
2001-12-28syncJason Wright
2001-12-28hifn 7811Jason Wright
2001-12-28sync. -mojMats O Jansson
2001-12-28Add some more VIATECH. -mojMats O Jansson
2001-12-28sync. -mojMats O Jansson
2001-12-28Add VIATECH VT8366. -mojMats O Jansson
2001-12-24regenMichael Shalayeff
2001-12-24add sis735 host-pci and 5571 is host tooMichael Shalayeff
2001-12-24fix // comment, kill some dangling spacesMichael Shalayeff
2001-12-24fix a // comment and kill a few trailing spacesMichael Shalayeff
2001-12-23syncNathan Binkert
2001-12-23Add a nec USB 2.0 controllerNathan Binkert
2001-12-20for mimi-pci cards registers are word in a dword, missed that in bringing ↵Michael Shalayeff
over support from netbsd; partially successfully tested by ellidz@eridu.uchicago.edu
2001-12-20rule: first commit, then compileMichael Shalayeff
2001-12-20do not print cis for non-plx cards, because there is noneMichael Shalayeff
2001-12-20add powerhook support to handle APM resumes correctly, fixes PR 1814joshua stein
ok provos@ and markus@
2001-12-19regenMichael Shalayeff
2001-12-19promise 20268r and 20269 pci ids; from Alexander Yurchenko <grange@rt.mipt.ru>Michael Shalayeff
2001-12-19unbreak mickey commit; make vra work after resume. previous commitNiels Provos
was based on jcs@openbsd yds changed btw.
2001-12-18correctly deal w/ ext_ctrl in powerhookMichael Shalayeff
2001-12-18powerhook for auich; based on jason's changed for yds; okay mickey@Niels Provos
2001-12-18syncDale Rahn
2001-12-18Add names for devices on newer G4 boxes.Dale Rahn
2001-12-14$OpenBSD$Dale Rahn
2001-12-14Hmm, too bad the interrupts do not configure. need pci_intr_fixup().Dale Rahn
'commit that' jason@
2001-12-14Major restructuring for swizzling to the request queue and unswizzling frommjacob
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have a complete set of inline functions in isp_inline.h. Each platform is responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32} macros. The reason this needs to be done is that we need to have a single set of functions that will work correctly on multiple architectures for both little and big endian machines. It also needs to work correctly in the case that we have the request or response queues in memory that has to be treated specially (e.g., have ddi_dma_sync called on it for Solaris after we update it or before we read from it). One thing that falls out of this is that we no longer build requests in the request queue itself. Instead, we build the request locally (e.g., on the stack) and then as part of the swizzling operation, copy it to the request queue entry we've allocated. I thought long and hard about whether this was too expensive a change to make as it in a lot of cases requires an extra copy. On balance, the flexbility is worth it. With any luck, the entry that we build locally stays in a processor writeback cache (after all, it's only 64 bytes) so that the cost of actually flushing it to the memory area that is the shared queue with the PCI device is not all that expensive. We may examine this again and try to get clever in the future to try and avoid copies. Another change that falls out of this is that MEMORYBARRIER should be taken a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the entry being added. But there had been many other places this had been missing. It's now very important that it be done. For OpenSD, it does a ddi_dmamap_sync as appropriate. This gets us out of the explicit ddi_dmamap_sync on the whole response queue that we did for SBus cards at each interrupt. Now, because SBus/sparc doesn't use bus_dma, some shenanigans were done to support this. But Jason was nice enough to test the SBus/sparcv9 changes for me, and they did the right thing as well. Set things up so that platforms that cannot have an SBus don't get a lot of the SBus code checks (dead coded out). Additional changes: Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry, the iptr value that gets returned is the value we intend to eventually plug into the ISP registers as the entry *one past* the last one we've written- *not* the current entry we're updating. All along we've been calling sync functions on the wrong index value. Argh. The 'fix' here is to rename all 'iptr' variables as 'nxti' to remember that this is the 'next' pointer- not the current pointer. Devote a single bit to mboxbsy- and set aside bits for output mbox registers that we need to pick up- we can have at least one command which does not have any defined output registers (MBOX_EXECUTE_FIRMWARE). Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response. Otherwise, we won't unswizzle it correctly. Nuke some additional __P macros.
2001-12-13If initialization fails, panic right away, instead ofNiklas Hallqvist
crashing randomly a little later.
2001-12-13Fix old alpha bug recently triggered by conversion to busdma.Nathan Binkert
2001-12-13changes to work with 32bit platforms and get ethernet address on powerpc.Dale Rahn
Inspired by NetBSD.