summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-10-21 10:52:33 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-10-21 10:52:33 +0000
commitb90587a3d7956855a8d4d1728534668103d1360b (patch)
tree58c3b855221d62ce812b406edcd5725b75ce9493
parent05fa22de0a536d83093702777e2520f1dfd0fef0 (diff)
A bit more registers from the Linux sata_svw.c driver.
-rw-r--r--sys/dev/pci/pciide_svwsata_reg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide_svwsata_reg.h b/sys/dev/pci/pciide_svwsata_reg.h
index 3ae802af037..dfa2f5d1f8c 100644
--- a/sys/dev/pci/pciide_svwsata_reg.h
+++ b/sys/dev/pci/pciide_svwsata_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_svwsata_reg.h,v 1.2 2005/10/16 20:16:02 grange Exp $ */
+/* $OpenBSD: pciide_svwsata_reg.h,v 1.3 2005/10/21 10:52:32 grange Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -33,6 +33,10 @@ struct pciide_svwsata {
#define SVWSATA_SERROR 0x44
#define SVWSATA_SCONTROL 0x48
+#define SVWSATA_SICR1 0x80
+#define SVWSATA_SICR2 0x84
+#define SVWSATA_SIM 0x88
+
u_int8_t svwsata_read_reg(struct channel_softc *, enum wdc_regs);
void svwsata_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);