diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-12-07 22:48:40 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-12-07 22:48:40 +0000 |
commit | 1c5deae7972cd952e840835dbff673764d0b0514 (patch) | |
tree | ea09779f059a3897b28987e21c16cc9f9fd0e8d4 | |
parent | 59bc01e6c9aac37d03e1f9c90d637ebec7947495 (diff) |
this should fix the VT6103.
-rw-r--r-- | sys/dev/pci/if_vr.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_vrreg.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index f05bec31232..a43fa7444ef 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vr.c,v 1.49 2005/11/07 02:57:45 brad Exp $ */ +/* $OpenBSD: if_vr.c,v 1.50 2005/12/07 22:48:38 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -437,6 +437,7 @@ vr_miibus_readreg(dev, phy, reg) switch (sc->vr_revid) { case REV_ID_VT6102_APOLLO: + case REV_ID_VT6103: if (phy != 1) return 0; default: @@ -462,6 +463,7 @@ vr_miibus_writereg(dev, phy, reg, data) switch (sc->vr_revid) { case REV_ID_VT6102_APOLLO: + case REV_ID_VT6103: if (phy != 1) return; default: diff --git a/sys/dev/pci/if_vrreg.h b/sys/dev/pci/if_vrreg.h index 6c2c55a5282..33a75542707 100644 --- a/sys/dev/pci/if_vrreg.h +++ b/sys/dev/pci/if_vrreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vrreg.h,v 1.15 2005/07/06 02:22:28 brad Exp $ */ +/* $OpenBSD: if_vrreg.h,v 1.16 2005/12/07 22:48:39 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -542,6 +542,7 @@ struct vr_softc { #define REV_ID_VT3065_B 0x41 #define REV_ID_VT3065_C 0x42 #define REV_ID_VT6102_APOLLO 0x74 +#define REV_ID_VT6103 0x78 #define REV_ID_VT3106 0x80 #define REV_ID_VT3106_J 0x80 /* 0x80-0x8F */ #define REV_ID_VT3106_S 0x90 /* 0x90-0xA0 */ |