aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-09-29 16:56:49 +0200
committerHelge Deller <deller@gmx.de>2023-09-29 16:56:49 +0200
commit5f40ad4df2a18bd8a4ec60ae11b26075d735d033 (patch)
tree56acac5d82c953516d31e67680a1f6c8936d4bb3
parente6e5160caec6cceb6e6b0c1d3c0cce975087bc49 (diff)
downloadseabios-hppa-5f40ad4df2a18bd8a4ec60ae11b26075d735d033.zip
seabios-hppa-5f40ad4df2a18bd8a4ec60ae11b26075d735d033.tar.gz
seabios-hppa-5f40ad4df2a18bd8a4ec60ae11b26075d735d033.tar.bz2
fix scsi card in pci slot
-rw-r--r--src/parisc/parisc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 07bbbcb..45fb965 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -1649,6 +1649,9 @@ static int pdc_initiator(unsigned int *arg)
switch (option) {
case PDC_GET_INITIATOR:
+ /* SCSI controller is on normal PCI bus on machines with Astro */
+ if (has_astro)
+ return PDC_BAD_OPTION;
// ARG3 points to the hwpath of device for which initiator is asked for.
result[0] = 7; // initiator_id/host_id: 7 to 15.
result[1] = 10; // scsi_rate: 1, 2, 5 or 10 for 5, 10, 20 or 40 MT/s