From f43e420a500b0be0217d1e0ff5dd7ad10f61f47c Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Thu, 4 Jan 2007 11:48:04 +0000 Subject: fix up some port regs so their names are more in line with what is in the spec. --- sys/dev/pci/ahci.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sys/dev/pci/ahci.c') diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c index ec872c296de..b8db8b8c190 100644 --- a/sys/dev/pci/ahci.c +++ b/sys/dev/pci/ahci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahci.c,v 1.33 2007/01/04 11:37:12 dlg Exp $ */ +/* $OpenBSD: ahci.c,v 1.34 2007/01/04 11:48:03 dlg Exp $ */ /* * Copyright (c) 2006 David Gwynne @@ -102,11 +102,12 @@ int ahcidebug = AHCI_D_VERBOSE; #define AHCI_PREG_CMD 0x18 /* Command and Status */ #define AHCI_PREG_TFD 0x20 /* Task File Data*/ #define AHCI_PREG_SIG 0x24 /* Signature */ -#define AHCI_PREG_Status 0x28 /* SATA Status */ -#define AHCI_PREG_Control 0x2c /* SATA Control */ -#define AHCI_PREG_Error 0x30 /* SATA Error */ -#define AHCI_PREG_Active 0x34 /* SATA Active */ +#define AHCI_PREG_SSTS 0x28 /* SATA Status */ +#define AHCI_PREG_SCTL 0x2c /* SATA Control */ +#define AHCI_PREG_SERR 0x30 /* SATA Error */ +#define AHCI_PREG_ACT 0x34 /* SATA Active */ #define AHCI_PREG_CI 0x38 /* Command Issue */ +#define AHCI_PREG_SNTF 0x3c /* SNotification */ struct ahci_cmd_list { u_int16_t prdtl; /* sgl len */ -- cgit v1.2.3