Go to file
jonathan e8c37e204d Fix a minor thinko in ascertaining whether or not a bge(4) device is
attached via PCI-Express:

The previous code first checked that the bge ASIC-revision matched the
5750 ASIC-revisoin (the bcm5721 has the same ASIC revision). However, the
bcm5752 is also a PCI-Express device, but has a different ASIC revision.
Thus, we were setting sc->bge_pcie to zero for bcm5752s, which in turn
causes bge_reset() to not perform required PCI-Express setup.

The test for a 5750 ASIC revision may (or may not) have been carried
across from the FreeBSD bge(4) driver. FreeBSD's bge(4) does not
properly detect or handle post-5750 bge devices. Instead, FreeBSD's
bge(4) keeps a sofc copy of the ASIC revision, and for post-5750
devices (5752, 5714, ...) overwrites that softc copy of the
ASIC-revision with the 5750 ASIC revision.  Thus, the test (mutatis
mutandis, using FreeBDS's softc asic-revision field), was correct for
FreeBSD; but manifestly incorrect for NetBSD.

Mark Davies (mark at mcs.vuw.ac..nz) has confirmed via private email
that this change fixes PR kern/kern/33509: his bcm5752 now works.
2006-06-01 01:46:41 +00:00
bin When expanding "$@" add a \0 byte after the last argument (as well as all 2006-05-20 13:57:27 +00:00
common remove unused variable that broke build 2006-05-28 10:15:25 +00:00
crypto Add a missing ')' to fix the example code. Already fixed in openssl upstream. 2006-05-24 16:44:34 +00:00
dist :g/%i/s//%d/gc 2006-05-31 19:53:13 +00:00
distrib Resurrect "/etc/mail" and "/etc/mail/aliases". Postfix still uses that 2006-05-31 02:58:14 +00:00
doc Bye bye sendmail. 2006-05-31 03:30:26 +00:00
etc remove some more smmsp for sendmail. 2006-05-30 02:10:01 +00:00
games read config more strictly, from Maximillian Dornseif 2006-05-25 07:11:54 +00:00
gnu More Coverity fixes from Mark D. Baushke. 2006-05-31 15:59:12 +00:00
include rename dd_rewind to dd_internal so that it can be re-used to implement 2006-05-17 20:32:19 +00:00
lib PR/30730 force changing password via chsh fails 2006-05-30 19:48:07 +00:00
libexec in _rtld_bind() initialise new_value for GCC4. 2006-05-23 16:27:41 +00:00
regress Use "GZIPPROG" instead of "GZIP", as gzip(1) uses the GZIP environment 2006-05-29 16:47:07 +00:00
rescue lmcctl has been replaced by lmcconfig. 2005-12-06 14:02:58 +00:00
sbin bump date (.Dd) 2006-05-29 19:35:31 +00:00
share add BQS 2006-05-30 03:54:20 +00:00
sys Fix a minor thinko in ascertaining whether or not a bge(4) device is 2006-06-01 01:46:41 +00:00
tools Support .native in an objdir, so I can keep more than one around at a 2006-05-30 04:22:40 +00:00
usr.bin Don't print an error if kernel doesn't have INET6 support. 2006-05-31 13:26:17 +00:00
usr.sbin Add missing coma. 2006-05-31 20:23:52 +00:00
x11 Add missing closing brace. How did this ever work previously? 2006-04-21 21:46:06 +00:00
build.sh Fix the iso-image action. These changes were accidentally omitted 2006-02-03 12:29:41 +00:00
BUILDING mkisofs is in pkgsrc/sysutils/cdrtools now, not pkgsrc/sysutils/cdrecord. 2006-01-29 14:03:59 +00:00
Makefile retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
Makefile.inc
UPDATING Note new sparc64 bootloader requirement. 2006-01-31 22:54:22 +00:00