From 50e5eb484bd72b1f02e43c25ea5bdd22e80a8f44 Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 18 Apr 1995 12:54:30 +0000 Subject: 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 --- sys/dev/de/if_de.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index f4b06ea..64b1095 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/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) { -- cgit v1.1