summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_dc_pci.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 21140 support for dc isn't reliable enough for it to win over dc.nate2002-03-041-1/+9
| | | | dc doesn't fit on the alpha ramdisk, so let de win in all cases.
* make dc win on alpha toonate2002-02-171-5/+1
|
* Make dc match with higher priorit over de for 21142/3 chipsnate2002-02-171-3/+16
| | | | Also match on 21140
* Check result from malloc(9) when using M_NOWAIT. fgsch@ oknordin2002-01-111-1/+3
|
* Fix old alpha bug recently triggered by conversion to busdma.nate2001-12-131-2/+2
|
* enough bus_dmamap_sync() and htole()/letoh() to get TX working on sparc64.jason2001-12-061-1/+9
| | | | ALso, get the MAC address from myetheraddr() instead of trying to use the eeprom on sparc64.
* Checkpoint bus_dma work in progress:jason2001-12-061-1/+2
| | | | | - descriptor lists are now bus_dma allocated and manipulated (for those keeping score: 6 vtophys dead, 4 to go)
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-2/+2
| | | | (Look ma, I might have broken the tree)
* We must read the SROM ahead of time for all ADMtek-based PCI cards; based onaaron2001-10-061-1/+4
| | | | | patch from ckuethe@pyxis.cns.ualberta.ca in PR/2102. At some point after 3.0 I must de-cruftify the dc(4) matching code to avoid such errors. :(
* Change pci_intr_map to take pci_attach_args as an argument.art2001-08-251-3/+2
| | | | | | | | | | | All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
* Support more dc(4) CardBus devices, including the AN985-based Linksys PCMPC200aaron2001-08-221-1/+3
| | | | 10/100 CardBus Ethernet adapter (thanks to beck@ for the donation).
* Call dc_read_srom with the correct width; patch from gluk@. Fixes problemsaaron2001-08-141-2/+3
| | | | with multiple 21143 interfaces.
* remove redundant vm includesmickey2001-08-121-2/+1
|
* - For CardBus 21143 cards, parse the SROM. Makes my SMC EZ CardBus 10/100 work.aaron2001-04-061-13/+12
| | | | | | - General cleanup in the dc CardBus attachment. - Split detach up into bus-dependent and bus-independent parts. - Some function and variable renaming for consistency.
* Add support for parsing the media blocks from the SROM on the 21143 adapters.aaron2001-02-091-27/+36
| | | | | | | | | These changes should make the driver work with the built-in Ethernet on the Alpha Miata machines. From FreeBSD. To make sure I didn't break anything (and as a general test), I tested the modified driver with the following dc(4) variants: Macronix PMAC 98715, Lite-On PNIC, Lite-On PNIC-II, ADMtek AL981, and ADMtek AN983.
* Add support for Accton EN2242 MiniPCI adapters as found in HP OmniBook XE3aaron2000-11-161-1/+9
| | | | | laptops; from FreeBSD. No special changes needed here, just the addition of the EN2242's product ID since it is an ADMtek Centaur chip.
* Match the Macronix 98727/98732 chips.aaron2000-10-301-1/+8
|
* From FreeBSD:aaron2000-10-271-1/+7
| | | | | | | | Yet another bug fix/optimization for the Davicom DM9100/9102: increase the PCI latency timer value to 0x80. Davicom's Linux driver does this, and it drastically reduces the number of TX underruns in my tests. (Note: this is done only for the Davicom chips. I'm not sure it's a good idea to do it for all of them.)
* From FreeBSD:aaron2000-10-271-3/+3
| | | | | | | | | | | | | | Set the DC_TX_INTR_ALWAYS and DC_TX_STORENFWD flags for the Davicom chips. Do not set DC_TX_ONE. The DC_TX_USE_INTR flag causes dc_encap() to set the 'interrupt on TX completion' bit only once every 64 packets. This is an attempt to reduce the number of interrupts generated by the chip. You're supposed to get a 'no more TX buffers left' interrupt once you hit the last packet whether you ask for one or not, however it seems the Davicom chip doesn't generate this interrupt, or at least it doesn't generate it under the same circumstances. The result is that if you transmit n packets, where n is less than 64, and then wait 5 seconds, you'll get a watchdog timeout whether you want one or not. The DC_TX_INTR_ALWAYS causes dc_encap() to request an interrupt for every frame.
* Use mii_attach() directly instead of mii_phy_probe().aaron2000-10-161-2/+2
|
* Sync with FreeBSD. Finally make the OpenBSD-specific changes necessary to makeaaron2000-09-131-1/+18
| | | | | non-MII 21143-based cards work. The sync just fixes the LED handling on these kinds of adapters.
* Sync with FreeBSD. Summary of changes:aaron2000-08-021-5/+18
| | | | | | | - Add support for Accton EN1217 Ethernet adapters. - Fix problems with LEDs on some cards when clearing the jabber disable bit. - Handle new Macronix chips whose multicast hash tables are only 128 bits. - Fix timing issues during autonegotiation with Macronix and PNIC II.
* Fix ADMtek identity crisis (whoops, missed this file); thanks mickey@aaron2000-06-121-4/+4
|
* we've done an oopsmickey2000-04-261-1/+3
|
* dc_csid ain't needed no more; jason@ okmickey2000-04-261-3/+1
|
* split dc driver into bus dependent and bus independent (pci) partsjason2000-04-181-0/+417
(cardbus to come later).