19daf5ad0b
- replace rtk_type member in rtk_softc which has chip types with new rtk_quirk that represents quirks on each chip: - RTKQ_8129 doesn't have internal MII (used in rtk(4)) - RTKQ_8139CPLUS has different register layout (for re(4)) - RTKQ_8169NONS (original 8169) requires some settings on init - RTKQ_PCIE requires different settings in setmulti so that we don't have to check each hwrev values or types everywhere and newer variants will also work without changes if they don't have other quirks (sc_rev is unchenged for now for reference to the Realtek's driver) - don't check hwrev register in re_pci_match() but check only PCI_VENDER(), PCI_PRODUCT() and PCI_REVISION() so that we no longer have to map pci space there - add a new HWREV value for another 8168 variant - try to map PCI mem space more properly - remove (probably unneeded) ifp->if_baudrate initialization Tested on a newer 8168 variant by Dennis den Brok on tech-kern, and also tested on 8139 and 8169C on macppc, and 8139C+ on landisk by me. |
||
---|---|---|
.. | ||
adv_cardbus.c | ||
ahc_cardbus.c | ||
cardbus_exrom.c | ||
cardbus_exrom.h | ||
cardbus_map.c | ||
cardbus.c | ||
cardbusreg.h | ||
cardbusvar.h | ||
cardslot.c | ||
cardslotvar.h | ||
com_cardbus.c | ||
ehci_cardbus.c | ||
files.cardbus | ||
fwohci_cardbus.c | ||
if_ath_cardbus.c | ||
if_atw_cardbus.c | ||
if_ex_cardbus.c | ||
if_fxp_cardbus.c | ||
if_ral_cardbus.c | ||
if_re_cardbus.c | ||
if_rtk_cardbus.c | ||
if_rtw_cardbus.c | ||
if_tlp_cardbus.c | ||
njata_cardbus.c | ||
njs_cardbus.c | ||
ohci_cardbus.c | ||
rbus_ppb.c | ||
rbus.c | ||
rbus.h | ||
uhci_cardbus.c | ||
usb_cardbus.h |