Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/sys/dev/podulebus Add support for Oak and HCCS SCSI car...
details: https://anonhg.NetBSD.org/src/rev/137c4e424308
branches: nathanw_sa
changeset: 504815:137c4e424308
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Wed Jul 04 15:01:09 2001 +0000
description:
Add support for Oak and HCCS SCSI cards fitted with PowerROMs. Since this
depends on podloader support, it won't work on arm32 yet.
diffstat:
sys/dev/podulebus/files.podulebus | 46 ++++++++++++++++++++++++++++
sys/dev/podulebus/powerromreg.h | 64 +++++++++++++++++++++++++++++++++++++++
2 files changed, 110 insertions(+), 0 deletions(-)
diffs (118 lines):
diff -r b9090bf343d3 -r 137c4e424308 sys/dev/podulebus/files.podulebus
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/dev/podulebus/files.podulebus Wed Jul 04 15:01:09 2001 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: files.podulebus,v 1.13.8.2 2001/07/04 15:01:09 bjh21 Exp $
+
+device podulebus { [slot = -1] }
+define podloader
+
+# Oak SCSI
+device oak: scsi, ncr5380sbc, podloader
+attach oak at podulebus
+file dev/podulebus/oak.c oak
+
+# HCCS 8-bit SCSI
+device hcsc: scsi, ncr5380sbc, podloader
+attach hcsc at podulebus
+file dev/podulebus/hcsc.c hcsc
+
+# D.T. software IDE
+device dtide: wdc_base, ata, atapi
+attach dtide at podulebus
+file dev/podulebus/dtide.c dtide
+
+# HCCS IDE
+device hcide: wdc_base, ata, atapi
+attach hcide at podulebus
+file dev/podulebus/hcide.c hcide
+
+# Acorn Ether1
+device ei: ether, ifnet, arp, i82586
+attach ei at podulebus
+file dev/podulebus/if_ei.c ei
+
+# Acorn/Atomwide Ether3
+device ea: ether, ifnet, arp, seeq8005
+attach ea at podulebus
+file dev/podulebus/if_ea.c ea
+
+# ANT EtherB
+device eb: ether, ifnet, arp, seeq8005
+attach eb at podulebus
+file dev/podulebus/if_eb.c eb
+
+# ACE (alias MCS) Midi-Connect card
+# EXPERIMENTAL. Probably not very useful.
+device acemidi { }
+attach acemidi at podulebus
+attach com at acemidi with com_acemidi
+file dev/podulebus/acemidi.c acemidi
diff -r b9090bf343d3 -r 137c4e424308 sys/dev/podulebus/powerromreg.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/dev/podulebus/powerromreg.h Wed Jul 04 15:01:09 2001 +0000
@@ -0,0 +1,64 @@
+/* $NetBSD: powerromreg.h,v 1.1.8.2 2001/07/04 15:01:09 bjh21 Exp $ */
+
+/*
+ * This file is in the public domain.
+ */
+
+/*
+ * PowerROM card types
+ */
+
+/*
+ * The Partis PowerROM is a replacement ROM (or rather series of ROMs)
+ * for an assortment of SCSI cards for Acorn machines. It's awkward
+ * in that it replaces the podule ID with its own, which is the same
+ * for all PowerROMs (and for Power-tec SCSI cards). To find out the
+ * actual hardware underneath it, we have to call the podule loader in
+ * the ROM, and it will return one of the following constants.
+ *
+ * <URL:http://home.eunet.no/~kjetilbt/power-tec.mbox>
+ */
+
+#define PRID_POWERTEC 0x00 /* Power-tec card, ID in hardware */
+
+#define PRID_MORLEY_SCSI1 0x11 /* Morley 16 bit SCSI-1 */
+#define PRID_MORLEY_CACHED 0x12 /* Morley 16 bit Cached SCSI-1 */
+#define PRID_MORLEY_TURBO 0x13 /* Morley Turbo 16 bit SCSI-1 */
+
+#define PRID_OAK_SCSI1 0x21 /* Oak 16 bit SCSI-1 */
+
+#define PRID_CUMANA_SCSI1_8 0x31 /* Cumana 8 bit SCSI-1 */
+#define PRID_CUMANA_SCSI1_16 0x32 /* Cumana 16 bit SCSI-1 */
+#define PRID_CUMANA_SCSI2 0x33 /* Cumana 16/32 bit SCSI-2 */
+#define PRID_CUMANA_SCSI3 0x34 /* Cumana 32 bit Ultra SCSI-3 */
+
+#define PRID_LINDIS_SCSI1 0x41 /* Lindis 8/16 bit SCSI-1 */
+
+#define PRID_HCCS_SCSI1 0x51 /* HCCS 8 bit SCSI-1 */
+#define PRID_HCCS_REDSHIFT 0x52 /* HCCS RedShift 16 bit SCSI-1 */
+
+#define PRID_TECHNO_SCSI1 0x61 /* Techno 16 bit SCSI-1 */
+
+#define PRID_ARXE_SCSI1 0x71 /* Arxe/TSP 16 bit SCSI-1 */
+#define PRID_ARXE_SCSI1_2 0x72 /* Arxe/TSP 16 bit SCSI-1 */
+#define PRID_ARXE_TURBO 0x73 /* Arxe/TSP 8 bit Turbo SCSI-1 */
+
+#define PRID_MCS_CONNECT32 0x81 /* MCS Connect 32 bit SCSI-2 */
+
+#define PRID_CASTLE_SCSI2 0x91 /* Castle 16 bit SCSI-2 */
+
+#define PRID_ACORN_SCSI1 0xa1 /* Acorn 16 bit SCSI-1 */
+
+#define PRID_SYMBIOS_UWIDE 0xb1 /* Symbios 32 bit UltraWide SCSI-2 */
+
+/* I don't think the ones below will ever appear on a podule */
+
+#define PRID_PARALLEL_ATAPI 0xe1 /* Misc Parallel ATAPI */
+#define PRID_IOEB_ATAPI 0xe2 /* Misc ADFS IOEB ATAPI */
+#define PRID_IOMD_ATAPI 0xe3 /* Misc ADFS IOMD ATAPI */
+
+#define PRID_PARALLEL_SCSI1 0xf1 /* Misc Parallel SCSI-1 */
+#define PRID_ECONET_SCSI1 0xf2 /* Misc Econet SCSI-1 */
+#define PRID_UPODULE_SCSI1 0xf3 /* Misc uPodule SCSI-1 */
+#define PRID_EPST_SCSI1 0xf4 /* Misc EPST SCSI-1 */
+
Home |
Main Index |
Thread Index |
Old Index