From: <gri...@ps...> - 2000-12-07 14:42:09
|
> > This sort of thing kills the init when CONFIG_PCI is defined: > > > > #ifdef CONFIG_PCI > > static int ncr53c8xx_pci_init(Scsi_Host_Template *tpnt, > > uchar bus, uchar device_fn, ncr_device *device); > > #else > > static int ncr53c770_init(Scsi_Host_Template *tpnt, unsigned long base, > > unsigned int irq, ncr_device *device); > > #endif > > This doesn't make sense to me. I guess the 53c8xx code could just be removed > from the 53c770 code? Or a more elegant solution in which case there wouldn't need to be a separate 53c770 driver, but included in an existing 53c8xx driver. As this is basically development code I don't really care. Just took me a while to figure out why it didn't seem tohave any effect when I compiled in the driver.. Bye, Arno. -- PSINetworks Europe Phone: +31-23-5699846 | One disk to rule them all, Siriusdreef 34 FAX: +31-20-8640234 | One disk to bind them, 2132WT Hoofddorp+--------------------------------+ One disk to hold the files The Netherlands | * Musical Interlude * | And in the darkness grind 'em ----------------+--------------------------------+------------------------------ We say Retribution, We say Vengeance is bliss, We say Revolution, With a Cast-Iron fist! (Megadeth, 'The Disintegrators') -------------------------------------------------------------------------------- |