lkml.org 
[lkml]   [2009]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 45/86] pata_legacy: do not probe extra ports automatically if PCI is not present
    From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Subject: [PATCH] pata_legacy: do not probe extra ports automatically if PCI is not present

    It can be problematic if there are other ISA/VLB devices using
    those ports.

    This is a forward port of bugfix from IDE ide-generic host driver.

    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    ---
    drivers/ata/pata_legacy.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: b/drivers/ata/pata_legacy.c
    ===================================================================
    --- a/drivers/ata/pata_legacy.c
    +++ b/drivers/ata/pata_legacy.c
    @@ -1241,7 +1241,7 @@ static __init int legacy_init(void)
    if (secondary == 0 || all)
    legacy_probe_add(0x170, 15, UNKNOWN, 0);

    - if (probe_all || !pci_present) {
    + if (probe_all) {
    /* ISA/VLB extra ports */
    legacy_probe_add(0x1E8, 11, UNKNOWN, 0);
    legacy_probe_add(0x168, 10, UNKNOWN, 0);

    \
     
     \ /
      Last update: 2009-11-25 18:19    [W:5.073 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site