diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2012-09-30 21:46:10 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2012-09-30 21:46:10 +0000 |
commit | 15d3fd24a6eddea40e52b92a356989027158a56b (patch) | |
tree | a0d41b86ea7b870e269e7b2e173482113508d7db | |
parent | daccfda13433a20577b115c64c061e9874a80ac0 (diff) |
Correct the addition of the 39320LPE controller. The actual product name
is 29320LPE since it is a single channel adapter. No functional change
other than priting the correct chipset in the dmesg.
Pointed out by henning petersen.
-rw-r--r-- | sys/dev/pci/ahd_pci.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pci/ahd_pci.c b/sys/dev/pci/ahd_pci.c index 5a198cded05..343b951265f 100644 --- a/sys/dev/pci/ahd_pci.c +++ b/sys/dev/pci/ahd_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahd_pci.c,v 1.19 2012/09/28 02:59:29 brad Exp $ */ +/* $OpenBSD: ahd_pci.c,v 1.20 2012/09/30 21:46:09 brad Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -103,6 +103,7 @@ ahd_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) #define ID_AIC7901 0x800F9005FFFF9005ull #define ID_AHA_29320A 0x8000900500609005ull #define ID_AHA_29320ALP 0x8017900500449005ull +#define ID_AHA_29320LPE 0x8017900500459005ull #define ID_AIC7901A 0x801E9005FFFF9005ull #define ID_AHA_29320LP 0x8014900500449005ull @@ -119,7 +120,6 @@ ahd_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) #define ID_AHA_39320D_B 0x801C900500419005ull #define ID_AHA_39320D_HP 0x8011900500AC0E11ull #define ID_AHA_39320D_B_HP 0x801C900500AC0E11ull -#define ID_AHA_39320LPE 0x8017900500459005ull #define ID_AIC7902_PCI_REV_A4 0x3 #define ID_AIC7902_PCI_REV_B0 0x10 #define SUBID_HP 0x0E11 @@ -165,6 +165,11 @@ struct ahd_pci_identity ahd_pci_ident_table [] = ID_ALL_MASK, ahd_aic7901_setup }, + { + ID_AHA_29320LPE, + ID_ALL_MASK, + ahd_aic7901_setup + }, /* aic7901A based controllers */ { ID_AHA_29320LP, @@ -222,11 +227,6 @@ struct ahd_pci_identity ahd_pci_ident_table [] = ID_ALL_MASK, ahd_aic7902_setup }, - { - ID_AHA_39320LPE, - ID_ALL_MASK, - ahd_aic7902_setup - }, /* Generic chip probes for devices we don't know 'exactly' */ { ID_AIC7901 & ID_9005_GENERIC_MASK, |