From 8d97ce2f16717178450bbacafd29992d3e243a94 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 21 Aug 2007 17:03:04 +0000 Subject: remove kernel 2.4->2.6 module map, we don't use module names from pcitable anymore --- mdk-stage1/modules.c | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) (limited to 'mdk-stage1/modules.c') diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 675d4f03c..8b5a6cc86 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -263,35 +263,6 @@ static enum insmod_return insmod_with_deps(const char * mod_name, char * options } -static const char * get_name_kernel_26_transition(const char * name) -{ - struct kernel_24_26_mapping { - const char * name_24; - const char * name_26; - }; - static struct kernel_24_26_mapping mappings[] = { - { "usb-ohci", "ohci-hcd" }, - { "usb-uhci", "uhci-hcd" }, - { "uhci", "uhci-hcd" }, -// { "printer", "usblp" }, - { "bcm4400", "b44" }, - { "3c559", "3c359" }, - { "3c90x", "3c59x" }, - { "dc395x_trm", "dc395x" }, -// { "audigy", "snd-emu10k1" }, - }; - int mappings_nb = sizeof(mappings) / sizeof(struct kernel_24_26_mapping); - int i; - - /* pcitable contains 2.4 names. this will need to change if/when it contains 2.6 names! */ - for (i=0; i