Skip to content

Commit

Permalink
Correct the addition of the 39320LPE controller. The actual product name
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
brad committed Sep 30, 2012
1 parent d62a636 commit f997b5b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions sys/dev/pci/ahd_pci.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f997b5b

Please sign in to comment.