summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/auxioreg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-09 18:41:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-09 18:41:51 +0000
commit4eaca50d846d95e18b1f4b8bfac26b5043bd3eaf (patch)
tree4ae984f5c65bb10ccafd67d33474d3c954766c71 /sys/arch/sparc64/dev/auxioreg.h
parent1da8f26758611ca48a0d63bbc6ac0af99badda46 (diff)
Preliminary support for the floppy drive on Ultrasparcs. Only tested on
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@
Diffstat (limited to 'sys/arch/sparc64/dev/auxioreg.h')
-rw-r--r--sys/arch/sparc64/dev/auxioreg.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/arch/sparc64/dev/auxioreg.h b/sys/arch/sparc64/dev/auxioreg.h
index d69858f6759..472140fa60b 100644
--- a/sys/arch/sparc64/dev/auxioreg.h
+++ b/sys/arch/sparc64/dev/auxioreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auxioreg.h,v 1.3 2002/02/01 21:48:23 jason Exp $ */
+/* $OpenBSD: auxioreg.h,v 1.4 2005/03/09 18:41:48 miod Exp $ */
/* $NetBSD: auxioreg.h,v 1.3 2000/04/15 03:08:13 mrg Exp $ */
/*
@@ -32,7 +32,7 @@
/*
* The AUXIO registers; their offset in the Ebus2 address space, plus the
* bits for each register. Note that the fdthree (FD), SUNW,CS4231 (AUDIO)
- * and power (POWER) devices on the Ebus2 have their AUXIO regsiters mapped
+ * and power (POWER) devices on the Ebus2 have their AUXIO registers mapped
* into their own "reg" properties, not the "auxio" device's "reg" properties.
*/
#define AUXIO_FD 0x00720000
@@ -47,14 +47,13 @@
#define AUXIO_POWER_COURTESY_OFF 0x1
#define AUXIO_LED 0x00726000
-#define AUXIO_LED_MB1 0xf0 /* must be set on write */
/* XXX: these may be useless on Ebus2 auxio! find out! */
-#define AUXIO_LED_FHD 0x20 /* floppy: high density (unreliable?)*/
-#define AUXIO_LED_FDC 0x10 /* floppy: diskette was changed */
-#define AUXIO_LED_FDS 0x08 /* floppy: drive select */
-#define AUXIO_LED_FTC 0x04 /* floppy: drives Terminal Count pin */
-#define AUXIO_LED_FEJ 0x02 /* floppy: eject disk */
-#define AUXIO_LED_LED 0x01 /* front panel LED */
+#define AUXIO_LED_FHD 0x20 /* floppy: high density (unreliable?)*/
+#define AUXIO_LED_LTE 0x08 /* link-test enable */
+#define AUXIO_LED_MMUX 0x04 /* Monitor/Mouse MUX; what is it? */
+#define AUXIO_LED_FTC 0x02 /* floppy: drives Terminal Count pin */
+#define AUXIO_LED_LED 0x01 /* front panel LED */
+#define AUXIO_LED_FLOPPY_MASK (AUXIO_LED_FTC)
#define AUXIO_PCI 0x00728000
#define AUXIO_PCI_SLOT0 0x0 /* two bits each */