diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-01-04 11:48:04 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-01-04 11:48:04 +0000 |
commit | f43e420a500b0be0217d1e0ff5dd7ad10f61f47c (patch) | |
tree | 1b4dffe9c04188a1ef71caf7590d5d13e80c9265 /sys/dev/pci/ahci.c | |
parent | 02995ecbc60e5f29215ac125bd1592309b0b46d6 (diff) |
fix up some port regs so their names are more in line with what is in the
spec.
Diffstat (limited to 'sys/dev/pci/ahci.c')
-rw-r--r-- | sys/dev/pci/ahci.c | 11 |
1 files changed, 6 insertions, 5 deletions
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 <dlg@openbsd.org> @@ -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 */ |