diff options
| author | Peter Grehan <grehan@FreeBSD.org> | 2003-06-27 10:11:54 +0000 |
|---|---|---|
| committer | Peter Grehan <grehan@FreeBSD.org> | 2003-06-27 10:11:54 +0000 |
| commit | 09bf574a28f6a57cba23dcbc054269f33ca10cb9 (patch) | |
| tree | 275e6e53f70bc6d1367872d56376ad4611646f40 | |
| parent | 6cda41555b3e6f72023e8b86b6e797be55e5b759 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ata/ata-chipset.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c index 1df8d361baec..e831fce1e4b2 100644 --- a/sys/dev/ata/ata-chipset.c +++ b/sys/dev/ata/ata-chipset.c @@ -1509,6 +1509,12 @@ ata_sii_chipinit(device_t dev) } else ctlr->setmode = ata_cmd_setmode; + + if ((pci_read_config(dev, 0x51, 1) & 0x08) != 0x08) { + device_printf(dev, "secondary channel disabled\n"); + ctlr->channels = 1; + } + return 0; } |
