NetBSD/sys/dev/cardbus
tsutsui 19daf5ad0b Cleanup handling of quikrs on each RealTek chip:
- 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.
2007-03-21 12:17:31 +00:00
..
adv_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ahc_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cardbus.c Use the ("%s: ...", __func__) idiom to correct function names and 2007-02-17 20:20:08 +00:00
cardbus_exrom.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
cardbus_exrom.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
cardbus_map.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
cardbusreg.h
cardbusvar.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
cardslot.c Cosmetic: KNF. In debug messages, use "%s: ...", __func__ idiom 2007-02-04 23:39:02 +00:00
cardslotvar.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
com_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ehci_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
files.cardbus Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata) 2006-09-07 14:22:07 +00:00
fwohci_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ath_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_atw_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ex_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_fxp_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_ral_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_re_cardbus.c Cleanup handling of quikrs on each RealTek chip: 2007-03-21 12:17:31 +00:00
if_rtk_cardbus.c Cleanup handling of quikrs on each RealTek chip: 2007-03-21 12:17:31 +00:00
if_rtw_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_tlp_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
njata_cardbus.c add entry CF32A CF Adapter (BUFFALO RCF-CBA2) 2006-12-31 12:50:19 +00:00
njs_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ohci_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
rbus.c Coverity CID 2467: Check that we actually initialized addr before returning it. 2006-04-14 22:32:14 +00:00
rbus.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
rbus_ppb.c Use device_private(). 2006-03-29 06:22:38 +00:00
uhci_cardbus.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
usb_cardbus.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00