diff options
author | Borislav Petkov <[email protected]> | 2008-10-10 22:39:35 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2008-10-10 22:39:35 +0200 |
commit | 20df429dd6671804999493baf2952f82582869fa (patch) | |
tree | e835d1ee54a09f75c5cf09e614da3d932eef6bb0 /net/lapb/lapb_subr.c | |
parent | b98b3409abb697321d1b53e3e96a14243fe9fc79 (diff) |
ide-generic: handle probing of legacy io-ports v5
Avoid probing the io-ports in case an IDE PCI controller is present and it
uses the legacy iobases. If we still want to enforce the probing, we do
ide_generic.probe_mask=0x3f
on the kernel command line. The iobase checking code is
adapted from drivers/ata/pata_legacy.c after converting hex
pci ids into their corresponding macros in <linux/pci_ids.h>.
Also, check only BAR0/2 resources since those are guaranteed
by the workaround in drivers/pci/probe.c:pci_setup_device().
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Sergei Shtylyov <[email protected]>
Cc: Alan Cox <[email protected]>
[bart: trivial printk() fixups]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions