cvs commit: src/sys/pci if_rlreg.h src/sys/dev/re if_re.c
Bill Paul
wpaul at FreeBSD.org
Sat Sep 13 16:51:37 PDT 2003
wpaul 2003/09/13 16:51:36 PDT
FreeBSD src repository
Modified files:
sys/pci if_rlreg.h
sys/dev/re if_re.c
Log:
Teach the re(4) driver about the CFG2 register, which tells us whether
we're on a 32-bit/64-bit bus or not. Use this to decide if we should
set the PCI dual-address cycle enable bit in the C+ command register.
(Enabling DAC on a 32-bit bus seems to do bad things.)
Also, initialize the C+ command register early in the re_init() routine.
The documentation says this register should be configured first.
Revision Changes Path
1.7 +14 -7 src/sys/dev/re/if_re.c
1.39 +15 -1 src/sys/pci/if_rlreg.h
More information about the cvs-src
mailing list