From 789449147b6bb9554f7dbc9d7fa8cc9f7ce5044a Mon Sep 17 00:00:00 2001 From: Thomas Graichen Date: Thu, 29 Jan 1998 15:44:12 +0000 Subject: add support for disks and tapes on a second scsi controller (asc1) -> originally from m. hitch -> tested by Andris Strazdins --- sys/arch/pmax/pmax/conf-glue.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/sys/arch/pmax/pmax/conf-glue.c b/sys/arch/pmax/pmax/conf-glue.c index 9a6ef834f8d..85331c77c74 100644 --- a/sys/arch/pmax/pmax/conf-glue.c +++ b/sys/arch/pmax/pmax/conf-glue.c @@ -78,9 +78,9 @@ struct pmax_scsi_device scsi_dinit[] = { { &rzdriver, &siidriver, 2, 0, 2, 0, 1, 0x0 }, { &rzdriver, &siidriver, 3, 0, 3, 0, 1, 0x0 }, { &rzdriver, &siidriver, 4, 0, 4, 0, 1, 0x0 }, -{ &rzdriver, &siidriver, 5, 0, 5, 0, 1, 0x0 }, -{ &rzdriver, &siidriver, 6, 0, 6, 0, 1, 0x0 }, -# endif /* NTZ */ +{ &rzdriver, &siidriver, 5, 0, 5, 0, 1, 0x0 }, +{ &rzdriver, &siidriver, 6, 0, 6, 0, 1, 0x0 }, +# endif /* NRZ */ # if NTZ > 0 { &tzdriver, &siidriver, 0, 0, 5, 0, 0, 0x0 }, @@ -98,11 +98,26 @@ struct pmax_scsi_device scsi_dinit[] = { { &rzdriver, &ascdriver, 4, 0, 4, 0, 1, 0x0 }, { &rzdriver, &ascdriver, 5, 0, 5, 0, 1, 0x0 }, { &rzdriver, &ascdriver, 6, 0, 6, 0, 1, 0x0 }, + +# if NRZ > 7 +{ &rzdriver, &ascdriver, 8, 1, 0, 0, 1, 0x0 }, +{ &rzdriver, &ascdriver, 9, 1, 1, 0, 1, 0x0 }, +{ &rzdriver, &ascdriver, 10, 1, 2, 0, 1, 0x0 }, +{ &rzdriver, &ascdriver, 11, 1, 3, 0, 1, 0x0 }, +{ &rzdriver, &ascdriver, 12, 1, 4, 0, 1, 0x0 }, +{ &rzdriver, &ascdriver, 13, 1, 5, 0, 1, 0x0 }, +{ &rzdriver, &ascdriver, 14, 1, 6, 0, 1, 0x0 }, +# endif /* NRZ > 7 */ # endif /* NRZ */ # if NTZ > 0 { &tzdriver, &ascdriver, 0, 0, 5, 0, 0, 0x0 }, { &tzdriver, &ascdriver, 1, 0, 6, 0, 0, 0x0 }, + +# if NTZ > 2 +{ &tzdriver, &ascdriver, 2, 1, 5, 0, 0, 0x0 }, +{ &tzdriver, &ascdriver, 3, 1, 6, 0, 0, 0x0 }, +# endif /* NTZ > 2 */ # endif /* NTZ */ #endif /* NASC */ -- cgit v1.2.3