diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 13:41:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 13:41:35 +0000 |
commit | aa92519ee5ee55fd7e740bcdc80e8954c3d4644c (patch) | |
tree | 8e71b726d87daf11eef9e7215e69af8dc652b1bb /sys/arch/pmax/tc/ds-asic-conf.c | |
parent | c07ad436053bd689654d6243ec11d75696018155 (diff) |
update from netbsd
Diffstat (limited to 'sys/arch/pmax/tc/ds-asic-conf.c')
-rw-r--r-- | sys/arch/pmax/tc/ds-asic-conf.c | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/sys/arch/pmax/tc/ds-asic-conf.c b/sys/arch/pmax/tc/ds-asic-conf.c index b7891790897..6215fec2010 100644 --- a/sys/arch/pmax/tc/ds-asic-conf.c +++ b/sys/arch/pmax/tc/ds-asic-conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: ds-asic-conf.c,v 1.3 1995/10/09 01:45:29 jonathan Exp $ */ +/* $NetBSD: ds-asic-conf.c,v 1.4 1996/01/03 20:39:14 jonathan Exp $ */ /* * Copyright (c) 1995 Jonathan Stone @@ -20,50 +20,51 @@ struct asic_slot { struct asic_slot kn03_asic_slots[] = { - { { "lance", 0, KN03_LANCE_SLOT, (u_int) (3 * 0x40000), }, + /* name slot offset intpri */ + { { "lance", 0, (u_int) (3 * 0x40000), KN03_LANCE_SLOT, }, KN03_INTR_LANCE, asic_intrnull, (void*) KN03_LANCE_SLOT, }, - { { "scc", 1, KN03_SCC0_SLOT, (u_int) (4 * 0x40000), }, + { { "scc", 1, (u_int) (4 * 0x40000), KN03_SCC0_SLOT, }, KN03_INTR_SCC_0, asic_intrnull, (void *)KN03_SCC0_SLOT, }, - { { "scc", 2, KN03_SCC1_SLOT, (u_int) (6 * 0x40000), }, - KN03_INTR_SCC_1, asic_intrnull, (void*)KN03_SCC1_SLOT, }, + { { "scc", 2, (u_int) (6 * 0x40000), KN03_SCC1_SLOT, }, + KN03_INTR_SCC_1, asic_intrnull, (void *)KN03_SCC1_SLOT, }, - { { "dallas_rtc", 3, 0 /*XXX*/, (u_int) (8* 0x40000), }, - 0, asic_intrnull, (void *)(long) 16 /*XXX*/, }, + { { "dallas_rtc", 3, (u_int) (8* 0x40000), 0 /*XXX*/, }, + 0, asic_intrnull, (void *)(long) 16 /*XXX*/, }, - { { "asc", 4, KN03_SCSI_SLOT, (u_int) (12 * 0x40000), }, - 0, asic_intrnull, (void*)KN03_SCSI_SLOT, }, + { { "asc", 4, (u_int) (12* 0x40000), KN03_SCSI_SLOT, }, + 0, asic_intrnull, (void *)KN03_SCSI_SLOT, }, { { NULL, 0, 0, 0 }, 0, NULL, NULL } }; -/* UNTESTED*/ + struct asic_slot xine_asic_slots[] = { - { { "lance", 0, KN03_LANCE_SLOT, (u_int) (3 * 0x40000), }, + { { "lance", 0, (u_int) (3 * 0x40000), KN03_LANCE_SLOT, }, KN03_INTR_LANCE, asic_intrnull, (void*) KN03_LANCE_SLOT, }, - { { "scc", 1, KN03_SCC0_SLOT, (u_int) (4 * 0x40000), }, + { { "scc", 1, (u_int) (4 * 0x40000), KN03_SCC0_SLOT, }, KN03_INTR_SCC_0, asic_intrnull, (void *)KN03_SCC0_SLOT, }, { { "dallas_rtc", 2, 0, (u_int) (8* 0x40000), }, 0, asic_intrnull, (void *)(long) 16 /*XXX*/, }, - { { "isdn", 3, XINE_ISDN_SLOT, (u_int) (9* 0x40000), }, - 0, asic_intrnull, (void *)(long) XINE_ISDN_SLOT, }, + { { "isdn", 3, (u_int) (9 * 0x40000), XINE_ISDN_SLOT, }, + 0, asic_intrnull, (void *)(long) XINE_ISDN_SLOT, }, - { { "dtop", 4, XINE_DTOP_SLOT, (u_int) (10* 0x40000), }, - 0, asic_intrnull, (void *)(long) XINE_DTOP_SLOT, }, + { { "dtop", 4, (u_int) (10* 0x40000), XINE_DTOP_SLOT, }, + 0, asic_intrnull, (void *)(long) XINE_DTOP_SLOT, }, - { { "fdc", 5, XINE_FLOPPY_SLOT, (u_int) (11* 0x40000), }, - 0, asic_intrnull, (void *)(long) XINE_FLOPPY_SLOT, }, + { { "fdc", 5, (u_int) (11* 0x40000), XINE_FLOPPY_SLOT, }, + 0, asic_intrnull, (void *) (long)XINE_FLOPPY_SLOT, }, - { { "asc", 6, XINE_SCSI_SLOT, (u_int) (12 * 0x40000), }, + { { "asc", 6, (u_int) (12* 0x40000), XINE_SCSI_SLOT, }, 0 /*XINE_INTR_SCSI*/, asic_intrnull, (void*)XINE_SCSI_SLOT, }, #if 0 - { { "frc", 3, (u_int) XINE_SLOT_FRC, (15* 0x40000), }, - 0, asic_intrnull, (void *)(long) XINE_SLOT_FRC, }, + { { "frc", 3, (u_int) (15* 0x40000), XINE_SLOT_FRC, }, + 0, asic_intrnull, (void *)(long) XINE_SLOT_FRC, }, #endif { { NULL, 0, 0, }, 0, NULL, NULL } }; @@ -79,10 +80,10 @@ struct asic_slot xine_asic_slots[] = */ struct asic_slot kn02_asic_slots[] = { - { { "dc", 0, 7, (u_int) (4 * 0x80000), }, + { { "dc", 0, (u_int) (4 * 0x80000), 7 }, KN03_INTR_SCC_0, asic_intrnull, (void *) 7, }, - { { "dallas_rtc", 0, 0, (u_int) (5 * 0x80000), }, + { { "dallas_rtc", 0, (u_int) (5 * 0x80000), 0, }, 0, asic_intrnull, (void *) 16 /*XXX*/, }, { { NULL, 0, 0 }, 0, NULL, NULL } |