diff options
Diffstat (limited to 'drivers/ide/pci/serverworks.c')
-rw-r--r-- | drivers/ide/pci/serverworks.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c index 40b89a29014f..a8317c1d7b5a 100644 --- a/drivers/ide/pci/serverworks.c +++ b/drivers/ide/pci/serverworks.c | |||
@@ -392,9 +392,10 @@ static int __devinit init_setup_svwks (struct pci_dev *dev, ide_pci_device_t *d) | |||
392 | static int __devinit init_setup_csb6 (struct pci_dev *dev, ide_pci_device_t *d) | 392 | static int __devinit init_setup_csb6 (struct pci_dev *dev, ide_pci_device_t *d) |
393 | { | 393 | { |
394 | if (!(PCI_FUNC(dev->devfn) & 1)) { | 394 | if (!(PCI_FUNC(dev->devfn) & 1)) { |
395 | d->bootable = NEVER_BOARD; | ||
396 | if (dev->resource[0].start == 0x01f1) | 395 | if (dev->resource[0].start == 0x01f1) |
397 | d->bootable = ON_BOARD; | 396 | d->host_flags |= IDE_HFLAG_BOOTABLE; |
397 | else | ||
398 | d->host_flags &= ~IDE_HFLAG_BOOTABLE; | ||
398 | } | 399 | } |
399 | 400 | ||
400 | if ((dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE || | 401 | if ((dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE || |
@@ -414,7 +415,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = { | |||
414 | .init_chipset = init_chipset_svwks, | 415 | .init_chipset = init_chipset_svwks, |
415 | .init_hwif = init_hwif_svwks, | 416 | .init_hwif = init_hwif_svwks, |
416 | .autodma = AUTODMA, | 417 | .autodma = AUTODMA, |
417 | .bootable = ON_BOARD, | 418 | .host_flags = IDE_HFLAG_BOOTABLE, |
418 | .pio_mask = ATA_PIO4, | 419 | .pio_mask = ATA_PIO4, |
419 | },{ /* 1 */ | 420 | },{ /* 1 */ |
420 | .name = "SvrWks CSB5", | 421 | .name = "SvrWks CSB5", |
@@ -422,7 +423,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = { | |||
422 | .init_chipset = init_chipset_svwks, | 423 | .init_chipset = init_chipset_svwks, |
423 | .init_hwif = init_hwif_svwks, | 424 | .init_hwif = init_hwif_svwks, |
424 | .autodma = AUTODMA, | 425 | .autodma = AUTODMA, |
425 | .bootable = ON_BOARD, | 426 | .host_flags = IDE_HFLAG_BOOTABLE, |
426 | .pio_mask = ATA_PIO4, | 427 | .pio_mask = ATA_PIO4, |
427 | },{ /* 2 */ | 428 | },{ /* 2 */ |
428 | .name = "SvrWks CSB6", | 429 | .name = "SvrWks CSB6", |
@@ -430,7 +431,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = { | |||
430 | .init_chipset = init_chipset_svwks, | 431 | .init_chipset = init_chipset_svwks, |
431 | .init_hwif = init_hwif_svwks, | 432 | .init_hwif = init_hwif_svwks, |
432 | .autodma = AUTODMA, | 433 | .autodma = AUTODMA, |
433 | .bootable = ON_BOARD, | 434 | .host_flags = IDE_HFLAG_BOOTABLE, |
434 | .pio_mask = ATA_PIO4, | 435 | .pio_mask = ATA_PIO4, |
435 | },{ /* 3 */ | 436 | },{ /* 3 */ |
436 | .name = "SvrWks CSB6", | 437 | .name = "SvrWks CSB6", |
@@ -438,8 +439,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = { | |||
438 | .init_chipset = init_chipset_svwks, | 439 | .init_chipset = init_chipset_svwks, |
439 | .init_hwif = init_hwif_svwks, | 440 | .init_hwif = init_hwif_svwks, |
440 | .autodma = AUTODMA, | 441 | .autodma = AUTODMA, |
441 | .bootable = ON_BOARD, | 442 | .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_BOOTABLE, |
442 | .host_flags = IDE_HFLAG_SINGLE, | ||
443 | .pio_mask = ATA_PIO4, | 443 | .pio_mask = ATA_PIO4, |
444 | },{ /* 4 */ | 444 | },{ /* 4 */ |
445 | .name = "SvrWks HT1000", | 445 | .name = "SvrWks HT1000", |
@@ -447,8 +447,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = { | |||
447 | .init_chipset = init_chipset_svwks, | 447 | .init_chipset = init_chipset_svwks, |
448 | .init_hwif = init_hwif_svwks, | 448 | .init_hwif = init_hwif_svwks, |
449 | .autodma = AUTODMA, | 449 | .autodma = AUTODMA, |
450 | .bootable = ON_BOARD, | 450 | .host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_BOOTABLE, |
451 | .host_flags = IDE_HFLAG_SINGLE, | ||
452 | .pio_mask = ATA_PIO4, | 451 | .pio_mask = ATA_PIO4, |
453 | } | 452 | } |
454 | }; | 453 | }; |