diff options
author | jkh <jkh@FreeBSD.org> | 1995-04-18 12:54:30 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-04-18 12:54:30 +0000 |
commit | 50e5eb484bd72b1f02e43c25ea5bdd22e80a8f44 (patch) | |
tree | 6e4542d3cd23236f4dd537764ae5275e47efc5f4 /sys/pci | |
parent | d1cec92227468833962087d0710896c1b512192a (diff) | |
download | FreeBSD-src-50e5eb484bd72b1f02e43c25ea5bdd22e80a8f44.zip FreeBSD-src-50e5eb484bd72b1f02e43c25ea5bdd22e80a8f44.tar.gz |
Matt says that no pre-2.3 pass boards were supposed to ship, but I certainly
got a 2.2 version DC21040 chip in my SMC ethernet card! He suggests bumping
the check all the way down to 2.0 since it's pre-2.0 we're actually guarding
against.
Submitted by: Matt Thomas <matt@lkg.dec.com>
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_de.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index f4b06ea..64b1095 100644 --- a/sys/pci/if_de.c +++ b/sys/pci/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.21 1995/04/13 04:46:40 davidg Exp $ + * $Id: if_de.c,v 1.22 1995/04/17 08:16:14 davidg Exp $ * */ @@ -1419,8 +1419,8 @@ tulip_pci_attach( } revinfo = pci_conf_read(config_id, PCI_CFRV) & 0xFF; - if (tulip_chipids[unit] == TULIP_DC21040 && revinfo < 0x22) { - printf("de%d: not configured; DC21040 pass 2.2 required (%d.%d found)\n", + if (tulip_chipids[unit] == TULIP_DC21040 && revinfo < 0x20) { + printf("de%d: not configured; DC21040 pass 2.0 required (%d.%d found)\n", unit, revinfo >> 4, revinfo & 0x0f); return; } else if (tulip_chipids[unit] == TULIP_DC21140 && revinfo < 0x11) { |