summaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2009-12-18 20:52:39 +0100
committerRusty Russell <rusty@rustcorp.com.au>2010-05-19 10:03:39 +0200
commitfedb3d27d9e8606b3867b5ae49d6258458a07a72 (patch)
treee57e59e48109ec105ed31480d649fa934d5d86f9 /tools/perf/util
parenthisax_fcpcipnp: fix broken isapnp device table. (diff)
downloadlinux-fedb3d27d9e8606b3867b5ae49d6258458a07a72.tar.xz
linux-fedb3d27d9e8606b3867b5ae49d6258458a07a72.zip
MODULE_DEVICE_TABLE(isapnp, ...) does nothing
On Monday 23 November 2009 04:29:53 Rusty Russell wrote: > On Mon, 23 Nov 2009 07:31:57 am Ondrej Zary wrote: > > The problem is that > > scripts/mod/file2alias.c simply ignores isapnp. > > AFAICT it always has, and noone has complained until now. Perhaps > something was still reading /lib/modules/`uname -r`/modules.isapnpmap? The patch below works fine (at least with Debian). It needs your first patch that moves the definitions to mod_devicetable.h. Verified that aliases for these modules are generated correctly: drivers/media/radio/radio-sf16fmi.c drivers/net/ne.c drivers/net/3c515.c drivers/net/smc-ultra.c drivers/pcmcia/i82365.c drivers/scsi/aha1542.c drivers/scsi/aha152x.c drivers/scsi/sym53c416.c drivers/scsi/g_NCR5380.c Tested with RTL8019AS (ne), AVA-1505AE (aha152x) and dtc436e (g_NCR5380) cards - they now work automatically. Generate pnp:d aliases for isapnp_device_tables. This allows udev to load these modules automatically. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions