Commit 7ad93b42 authored by Laurent Vivier's avatar Laurent Vivier Committed by Geert Uytterhoeven

m68k: mac - Add a new entry in mac_model to identify the floppy controller type.

This patch adds a field "floppy_type" which can take the following values:

MAC_FLOPPY_IWM for an IWM based mac
MAC_FLOPPY_SWIM_ADDR1 for a SWIM based mac with controller at VIA1 + 0x1E000
MAC_FLOPPY_SWIM_ADDR2 for a SWIM based mac with controller at VIA1 + 0x16000
MAC_FLOPPY_IOP for an IOP based mac
MAC_FLOPPY_AV for an AV based mac
Signed-off-by: default avatarLaurent Vivier <Laurent@lvivier.info>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 612bfc9e
...@@ -34,6 +34,7 @@ struct mac_model ...@@ -34,6 +34,7 @@ struct mac_model
char scc_type; char scc_type;
char ether_type; char ether_type;
char nubus_type; char nubus_type;
char floppy_type;
}; };
#define MAC_ADB_NONE 0 #define MAC_ADB_NONE 0
...@@ -71,6 +72,12 @@ struct mac_model ...@@ -71,6 +72,12 @@ struct mac_model
#define MAC_NO_NUBUS 0 #define MAC_NO_NUBUS 0
#define MAC_NUBUS 1 #define MAC_NUBUS 1
#define MAC_FLOPPY_IWM 0
#define MAC_FLOPPY_SWIM_ADDR1 1
#define MAC_FLOPPY_SWIM_ADDR2 2
#define MAC_FLOPPY_SWIM_IOP 3
#define MAC_FLOPPY_AV 4
/* /*
* Gestalt numbers * Gestalt numbers
*/ */
......
...@@ -224,7 +224,8 @@ static struct mac_model mac_data_table[] = { ...@@ -224,7 +224,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_II, .via_type = MAC_VIA_II,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_IWM
}, },
/* /*
...@@ -239,7 +240,8 @@ static struct mac_model mac_data_table[] = { ...@@ -239,7 +240,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_II, .via_type = MAC_VIA_II,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_IWM
}, { }, {
.ident = MAC_MODEL_IIX, .ident = MAC_MODEL_IIX,
.name = "IIx", .name = "IIx",
...@@ -247,7 +249,8 @@ static struct mac_model mac_data_table[] = { ...@@ -247,7 +249,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_II, .via_type = MAC_VIA_II,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_IICX, .ident = MAC_MODEL_IICX,
.name = "IIcx", .name = "IIcx",
...@@ -255,7 +258,8 @@ static struct mac_model mac_data_table[] = { ...@@ -255,7 +258,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_II, .via_type = MAC_VIA_II,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_SE30, .ident = MAC_MODEL_SE30,
.name = "SE/30", .name = "SE/30",
...@@ -263,7 +267,8 @@ static struct mac_model mac_data_table[] = { ...@@ -263,7 +267,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_II, .via_type = MAC_VIA_II,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, },
/* /*
...@@ -280,7 +285,8 @@ static struct mac_model mac_data_table[] = { ...@@ -280,7 +285,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_IIFX, .ident = MAC_MODEL_IIFX,
.name = "IIfx", .name = "IIfx",
...@@ -288,7 +294,8 @@ static struct mac_model mac_data_table[] = { ...@@ -288,7 +294,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_IOP, .scc_type = MAC_SCC_IOP,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_IOP
}, { }, {
.ident = MAC_MODEL_IISI, .ident = MAC_MODEL_IISI,
.name = "IIsi", .name = "IIsi",
...@@ -296,7 +303,8 @@ static struct mac_model mac_data_table[] = { ...@@ -296,7 +303,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_IIVI, .ident = MAC_MODEL_IIVI,
.name = "IIvi", .name = "IIvi",
...@@ -304,7 +312,8 @@ static struct mac_model mac_data_table[] = { ...@@ -304,7 +312,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_IIVX, .ident = MAC_MODEL_IIVX,
.name = "IIvx", .name = "IIvx",
...@@ -312,7 +321,8 @@ static struct mac_model mac_data_table[] = { ...@@ -312,7 +321,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, },
/* /*
...@@ -326,7 +336,8 @@ static struct mac_model mac_data_table[] = { ...@@ -326,7 +336,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_CCL, .ident = MAC_MODEL_CCL,
.name = "Color Classic", .name = "Color Classic",
...@@ -334,7 +345,9 @@ static struct mac_model mac_data_table[] = { ...@@ -334,7 +345,9 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS}, .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
},
/* /*
* Some Mac LC machines. Basically the same as the IIci, ADB like IIsi * Some Mac LC machines. Basically the same as the IIci, ADB like IIsi
...@@ -347,7 +360,8 @@ static struct mac_model mac_data_table[] = { ...@@ -347,7 +360,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_LCII, .ident = MAC_MODEL_LCII,
.name = "LC II", .name = "LC II",
...@@ -355,7 +369,8 @@ static struct mac_model mac_data_table[] = { ...@@ -355,7 +369,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_LCIII, .ident = MAC_MODEL_LCIII,
.name = "LC III", .name = "LC III",
...@@ -363,7 +378,8 @@ static struct mac_model mac_data_table[] = { ...@@ -363,7 +378,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, },
/* /*
...@@ -383,7 +399,8 @@ static struct mac_model mac_data_table[] = { ...@@ -383,7 +399,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_Q605_ACC, .ident = MAC_MODEL_Q605_ACC,
.name = "Quadra 605", .name = "Quadra 605",
...@@ -391,7 +408,8 @@ static struct mac_model mac_data_table[] = { ...@@ -391,7 +408,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_Q610, .ident = MAC_MODEL_Q610,
.name = "Quadra 610", .name = "Quadra 610",
...@@ -400,7 +418,8 @@ static struct mac_model mac_data_table[] = { ...@@ -400,7 +418,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_Q630, .ident = MAC_MODEL_Q630,
.name = "Quadra 630", .name = "Quadra 630",
...@@ -410,7 +429,8 @@ static struct mac_model mac_data_table[] = { ...@@ -410,7 +429,8 @@ static struct mac_model mac_data_table[] = {
.ide_type = MAC_IDE_QUADRA, .ide_type = MAC_IDE_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_Q650, .ident = MAC_MODEL_Q650,
.name = "Quadra 650", .name = "Quadra 650",
...@@ -419,7 +439,8 @@ static struct mac_model mac_data_table[] = { ...@@ -419,7 +439,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, },
/* The Q700 does have a NS Sonic */ /* The Q700 does have a NS Sonic */
{ {
...@@ -430,7 +451,8 @@ static struct mac_model mac_data_table[] = { ...@@ -430,7 +451,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA2, .scsi_type = MAC_SCSI_QUADRA2,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_Q800, .ident = MAC_MODEL_Q800,
.name = "Quadra 800", .name = "Quadra 800",
...@@ -439,7 +461,8 @@ static struct mac_model mac_data_table[] = { ...@@ -439,7 +461,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_Q840, .ident = MAC_MODEL_Q840,
.name = "Quadra 840AV", .name = "Quadra 840AV",
...@@ -448,7 +471,8 @@ static struct mac_model mac_data_table[] = { ...@@ -448,7 +471,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA3, .scsi_type = MAC_SCSI_QUADRA3,
.scc_type = MAC_SCC_PSC, .scc_type = MAC_SCC_PSC,
.ether_type = MAC_ETHER_MACE, .ether_type = MAC_ETHER_MACE,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_AV
}, { }, {
.ident = MAC_MODEL_Q900, .ident = MAC_MODEL_Q900,
.name = "Quadra 900", .name = "Quadra 900",
...@@ -457,7 +481,8 @@ static struct mac_model mac_data_table[] = { ...@@ -457,7 +481,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA2, .scsi_type = MAC_SCSI_QUADRA2,
.scc_type = MAC_SCC_IOP, .scc_type = MAC_SCC_IOP,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_IOP
}, { }, {
.ident = MAC_MODEL_Q950, .ident = MAC_MODEL_Q950,
.name = "Quadra 950", .name = "Quadra 950",
...@@ -466,7 +491,8 @@ static struct mac_model mac_data_table[] = { ...@@ -466,7 +491,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA2, .scsi_type = MAC_SCSI_QUADRA2,
.scc_type = MAC_SCC_IOP, .scc_type = MAC_SCC_IOP,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_IOP
}, },
/* /*
...@@ -480,7 +506,8 @@ static struct mac_model mac_data_table[] = { ...@@ -480,7 +506,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_P475, .ident = MAC_MODEL_P475,
.name = "Performa 475", .name = "Performa 475",
...@@ -488,7 +515,8 @@ static struct mac_model mac_data_table[] = { ...@@ -488,7 +515,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_P475F, .ident = MAC_MODEL_P475F,
.name = "Performa 475", .name = "Performa 475",
...@@ -496,7 +524,8 @@ static struct mac_model mac_data_table[] = { ...@@ -496,7 +524,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_P520, .ident = MAC_MODEL_P520,
.name = "Performa 520", .name = "Performa 520",
...@@ -504,7 +533,8 @@ static struct mac_model mac_data_table[] = { ...@@ -504,7 +533,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_P550, .ident = MAC_MODEL_P550,
.name = "Performa 550", .name = "Performa 550",
...@@ -512,7 +542,8 @@ static struct mac_model mac_data_table[] = { ...@@ -512,7 +542,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, },
/* These have the comm slot, and therefore the possibility of SONIC ethernet */ /* These have the comm slot, and therefore the possibility of SONIC ethernet */
{ {
...@@ -523,7 +554,8 @@ static struct mac_model mac_data_table[] = { ...@@ -523,7 +554,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_P588, .ident = MAC_MODEL_P588,
.name = "Performa 588", .name = "Performa 588",
...@@ -533,7 +565,8 @@ static struct mac_model mac_data_table[] = { ...@@ -533,7 +565,8 @@ static struct mac_model mac_data_table[] = {
.ide_type = MAC_IDE_QUADRA, .ide_type = MAC_IDE_QUADRA,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_TV, .ident = MAC_MODEL_TV,
.name = "TV", .name = "TV",
...@@ -541,7 +574,8 @@ static struct mac_model mac_data_table[] = { ...@@ -541,7 +574,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_P600, .ident = MAC_MODEL_P600,
.name = "Performa 600", .name = "Performa 600",
...@@ -549,7 +583,8 @@ static struct mac_model mac_data_table[] = { ...@@ -549,7 +583,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_II, .scc_type = MAC_SCC_II,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, },
/* /*
...@@ -565,7 +600,8 @@ static struct mac_model mac_data_table[] = { ...@@ -565,7 +600,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_C650, .ident = MAC_MODEL_C650,
.name = "Centris 650", .name = "Centris 650",
...@@ -574,7 +610,8 @@ static struct mac_model mac_data_table[] = { ...@@ -574,7 +610,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA, .scsi_type = MAC_SCSI_QUADRA,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR1
}, { }, {
.ident = MAC_MODEL_C660, .ident = MAC_MODEL_C660,
.name = "Centris 660AV", .name = "Centris 660AV",
...@@ -583,7 +620,8 @@ static struct mac_model mac_data_table[] = { ...@@ -583,7 +620,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_QUADRA3, .scsi_type = MAC_SCSI_QUADRA3,
.scc_type = MAC_SCC_PSC, .scc_type = MAC_SCC_PSC,
.ether_type = MAC_ETHER_MACE, .ether_type = MAC_ETHER_MACE,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_AV
}, },
/* /*
...@@ -599,7 +637,8 @@ static struct mac_model mac_data_table[] = { ...@@ -599,7 +637,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB145, .ident = MAC_MODEL_PB145,
.name = "PowerBook 145", .name = "PowerBook 145",
...@@ -607,7 +646,8 @@ static struct mac_model mac_data_table[] = { ...@@ -607,7 +646,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB150, .ident = MAC_MODEL_PB150,
.name = "PowerBook 150", .name = "PowerBook 150",
...@@ -616,7 +656,8 @@ static struct mac_model mac_data_table[] = { ...@@ -616,7 +656,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.ide_type = MAC_IDE_PB, .ide_type = MAC_IDE_PB,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB160, .ident = MAC_MODEL_PB160,
.name = "PowerBook 160", .name = "PowerBook 160",
...@@ -624,7 +665,8 @@ static struct mac_model mac_data_table[] = { ...@@ -624,7 +665,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB165, .ident = MAC_MODEL_PB165,
.name = "PowerBook 165", .name = "PowerBook 165",
...@@ -632,7 +674,8 @@ static struct mac_model mac_data_table[] = { ...@@ -632,7 +674,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB165C, .ident = MAC_MODEL_PB165C,
.name = "PowerBook 165c", .name = "PowerBook 165c",
...@@ -640,7 +683,8 @@ static struct mac_model mac_data_table[] = { ...@@ -640,7 +683,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB170, .ident = MAC_MODEL_PB170,
.name = "PowerBook 170", .name = "PowerBook 170",
...@@ -648,7 +692,8 @@ static struct mac_model mac_data_table[] = { ...@@ -648,7 +692,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB180, .ident = MAC_MODEL_PB180,
.name = "PowerBook 180", .name = "PowerBook 180",
...@@ -656,7 +701,8 @@ static struct mac_model mac_data_table[] = { ...@@ -656,7 +701,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB180C, .ident = MAC_MODEL_PB180C,
.name = "PowerBook 180c", .name = "PowerBook 180c",
...@@ -664,7 +710,8 @@ static struct mac_model mac_data_table[] = { ...@@ -664,7 +710,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_QUADRA, .via_type = MAC_VIA_QUADRA,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB190, .ident = MAC_MODEL_PB190,
.name = "PowerBook 190", .name = "PowerBook 190",
...@@ -673,7 +720,8 @@ static struct mac_model mac_data_table[] = { ...@@ -673,7 +720,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.ide_type = MAC_IDE_BABOON, .ide_type = MAC_IDE_BABOON,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB520, .ident = MAC_MODEL_PB520,
.name = "PowerBook 520", .name = "PowerBook 520",
...@@ -682,7 +730,8 @@ static struct mac_model mac_data_table[] = { ...@@ -682,7 +730,8 @@ static struct mac_model mac_data_table[] = {
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.ether_type = MAC_ETHER_SONIC, .ether_type = MAC_ETHER_SONIC,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, },
/* /*
...@@ -702,7 +751,8 @@ static struct mac_model mac_data_table[] = { ...@@ -702,7 +751,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB230, .ident = MAC_MODEL_PB230,
.name = "PowerBook Duo 230", .name = "PowerBook Duo 230",
...@@ -710,7 +760,8 @@ static struct mac_model mac_data_table[] = { ...@@ -710,7 +760,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB250, .ident = MAC_MODEL_PB250,
.name = "PowerBook Duo 250", .name = "PowerBook Duo 250",
...@@ -718,7 +769,8 @@ static struct mac_model mac_data_table[] = { ...@@ -718,7 +769,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB270C, .ident = MAC_MODEL_PB270C,
.name = "PowerBook Duo 270c", .name = "PowerBook Duo 270c",
...@@ -726,7 +778,8 @@ static struct mac_model mac_data_table[] = { ...@@ -726,7 +778,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB280, .ident = MAC_MODEL_PB280,
.name = "PowerBook Duo 280", .name = "PowerBook Duo 280",
...@@ -734,7 +787,8 @@ static struct mac_model mac_data_table[] = { ...@@ -734,7 +787,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, { }, {
.ident = MAC_MODEL_PB280C, .ident = MAC_MODEL_PB280C,
.name = "PowerBook Duo 280c", .name = "PowerBook Duo 280c",
...@@ -742,7 +796,8 @@ static struct mac_model mac_data_table[] = { ...@@ -742,7 +796,8 @@ static struct mac_model mac_data_table[] = {
.via_type = MAC_VIA_IIci, .via_type = MAC_VIA_IIci,
.scsi_type = MAC_SCSI_OLD, .scsi_type = MAC_SCSI_OLD,
.scc_type = MAC_SCC_QUADRA, .scc_type = MAC_SCC_QUADRA,
.nubus_type = MAC_NUBUS .nubus_type = MAC_NUBUS,
.floppy_type = MAC_FLOPPY_SWIM_ADDR2
}, },
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment