Date: Sat, 13 Sep 2003 16:51:36 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_rlreg.h src/sys/dev/re if_re.c Message-ID: <200309132351.h8DNpaxO084492@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309132351.h8DNpaxO084492>
