Properly identify LM81. From Sergey Svishchev in PR kern/13420.
This commit is contained in:
parent
07baef4c9d
commit
f6ef011e7e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nslm7x.c,v 1.14 2002/03/30 13:37:41 tron Exp $ */
|
||||
/* $NetBSD: nslm7x.c,v 1.15 2002/04/05 16:11:47 bouyer Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.14 2002/03/30 13:37:41 tron Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.15 2002/04/05 16:11:47 bouyer Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -245,6 +245,9 @@ lm_match(sc)
|
||||
case LM_ID_LM79:
|
||||
printf(": LM79\n");
|
||||
break;
|
||||
case LM_ID_LM81:
|
||||
printf(": LM81\n");
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nslm7xvar.h,v 1.7 2000/08/03 09:27:01 bouyer Exp $ */
|
||||
/* $NetBSD: nslm7xvar.h,v 1.8 2002/04/05 16:11:47 bouyer Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -65,6 +65,7 @@
|
||||
#define LM_ID_LM78 0x00
|
||||
#define LM_ID_LM78J 0x40
|
||||
#define LM_ID_LM79 0xC0
|
||||
#define LM_ID_LM81 0x80
|
||||
#define LM_ID_MASK 0xFE
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user