Subject: re: pciide/atabus changes
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: matthew green <mrg@eterna.com.au>
List: port-sparc64
Date: 10/13/2003 21:02:42
   
   On Thu, Oct 09, 2003 at 08:29:09PM +0200, Manuel Bouyer wrote:
   > In fast this does work. The problem is that device_register() calls
   > dev_compatible() (which is OK) and then calls bus_class().
   > If the device name isn't in bus_class_tab[], we loose.
   > I'm not sure what is best here: change bus_class() to match on pa->pa_class
   > too for PCI devices, or just add the names to bus_class_tab[].
   
   OK, following Christos's suggestion, I changed bus_class() to use pmatch(),
   so that we can use *ide in bus_class_tab[]. This seems to work nicely here.
   
   Should I commit this ?


has it been tested ?  it should be fine :-)