summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dc.c
AgeCommit message (Collapse)Author
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2001-02-09Bad aaron. Broke alpha.Artur Grabowski
2001-02-09Sync with FreeBSD:Aaron Campbell
- Bugfix: 'reg' variable in dc_apply_fixup() needs to be u_int32_t. - Bugfix: bzero() mediainfo structures after allocation. - Call dc_apply_fixup() in dc_setcfg() for the MII case. - Conditionalize some code in miibus_{read,write}reg to make non-mx98713 cards happy.
2001-02-09Add support for parsing the media blocks from the SROM on the 21143 adapters.Aaron Campbell
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.
2000-11-16Note support for Accton EN1217 and EN2242 Ethernet adapters.Aaron Campbell
2000-10-30Match the Macronix 98727/98732 chips.Aaron Campbell
2000-10-26Add support for Xircom X3201-based CardBus Ethernet cards. Tested successfullyAaron Campbell
on four different models, including the CBEM56G-100, RBE-100 RealPort, and the RBEM56G-100 RealPort. This commit adds support only for the LAN components; the modem is not configured yet. Detach support to come. Based on work from FreeBSD, mickey@, nate@, and myself.
2000-10-18Sigh. According to the ASIX data sheets, these boards don't even have RXAaron Campbell
or TX state registers (these bits are reserved). So instead, don't do mii_tick() at all for ASIX boards, since we can't seem to figure out how to call it at just the right time. Hopefully this will be a temporary hack until a better solution is found.
2000-10-17Undo the incorrect fix for my ASIX 88141. Instead of just relying on tx_cnt,Aaron Campbell
now we check the TX state in the ISR to make sure we are not transmitting when we run mii_tick(). Based on a suggestion by Bill Paul. The dc driver should now be ready for some heavy pre-2.8 testing.
2000-10-16Use mii_attach() directly instead of mii_phy_probe().Aaron Campbell
2000-10-11For some reason, with the eeprom width detection code mickey added awhile ago,Aaron Campbell
special care for the ADMtek AN983 (Centaur-P) chip is no longer needed. This fixes Ethernet address reading for these cards. Thanks to todd@ for testing.
2000-09-28If this is a Davicom DM9102A and we're enabling the homePNA link, forceAaron Campbell
dc_link to 1 and don't activate the tick routine. Without this, dc_start() always thinks the link is down and never transmits in homePNA mode; from FreeBSD.
2000-09-13Sync with FreeBSD. Finally make the OpenBSD-specific changes necessary to makeAaron Campbell
non-MII 21143-based cards work. The sync just fixes the LED handling on these kinds of adapters.
2000-09-07Indentation fix.Aaron Campbell
2000-08-26Revert a minor FreeBSD tweak that tends to freeze my machine solid afterAaron Campbell
large amounts of data transfer (ASIX 88141 card).
2000-08-08Make fix for preserving LED settings conditional on presence of an IntelAaron Campbell
21143 chip; from FreeBSD.
2000-08-02Sync with FreeBSD. Summary of changes:Aaron Campbell
- 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.
2000-08-02Don't print out the eeprom width.Aaron Campbell
2000-08-02Add support for accepting packets up to 4 octets larger than thePeter Galbavy
interface MTU IFF vlans are enabled. Additional logic should be added by someone who understand 802.1q to test if this oversize packet is actually a 802.1q encapsulated, and reject others. Fix as per kernel/1328.
2000-07-21convert to new timeouts; art@ okMichael Shalayeff
2000-06-12remove debugging prom dump, sorryMichael Shalayeff
2000-06-12eeprom width detection code.Michael Shalayeff
idea from netbsd tulip driver. there is problem w/ an983 card, but aaron@ said he'll work it out. aaron@ & jason@ ok.
2000-06-12Fix ADMtek identity crisis.Aaron Campbell
2000-04-18split dc driver into bus dependent and bus independent (pci) partsJason Wright
(cardbus to come later).