summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorpelikan <pelikan@cvs.openbsd.org>2014-02-13 23:48:31 +0000
committerpelikan <pelikan@cvs.openbsd.org>2014-02-13 23:48:31 +0000
commitabdbffe7c6dffb58a8efc82ee8daeeccb6601d9c (patch)
tree23615dfbb41c0b664b200711604e3d406becd521 /sys/dev
parent6f653d1a9bbce3674a11cedd0985469158183976 (diff)
fix previous errorneous constants (compiled against the old header)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ahci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ahci.c b/sys/dev/ic/ahci.c
index 9fe2f473b55..9f83a687092 100644
--- a/sys/dev/ic/ahci.c
+++ b/sys/dev/ic/ahci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahci.c,v 1.6 2014/02/13 23:41:24 pelikan Exp $ */
+/* $OpenBSD: ahci.c,v 1.7 2014/02/13 23:48:30 pelikan Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -190,10 +190,10 @@ ahci_attach(struct ahci_softc *sc)
case AHCI_REG_CAP_ISS_G1:
gen = "1 (1.5Gbps)";
break;
- case AHCI_REG_CAP_ISS_G1_2:
+ case AHCI_REG_CAP_ISS_G2:
gen = "2 (3Gbps)";
break;
- case AHCI_REG_CAP_ISS_G1_3:
+ case AHCI_REG_CAP_ISS_G3:
gen = "3 (6Gbps)";
break;
default: