Re: [PATCH 2/3] drivers/ide/pci/sc1200.c: remove pointless hwif lookup loop

2007-10-31 Thread Bartlomiej Zolnierkiewicz
On Friday 26 October 2007, Jeff Garzik wrote: > Bartlomiej Zolnierkiewicz wrote: > > On Thursday 25 October 2007, Jeff Garzik wrote: > >> Store our hwif indices at probe time, in order to eliminate a needless > >> and ugly loop across all hwifs, searching for our pci device. > > > > It seems that

Re: [PATCH 2/3] drivers/ide/pci/sc1200.c: remove pointless hwif lookup loop

2007-10-25 Thread Jeff Garzik
Bartlomiej Zolnierkiewicz wrote: On Thursday 25 October 2007, Jeff Garzik wrote: Store our hwif indices at probe time, in order to eliminate a needless and ugly loop across all hwifs, searching for our pci device. It seems that we can simplify it even further and remove knowledge about hwifs a

Re: [PATCH 2/3] drivers/ide/pci/sc1200.c: remove pointless hwif lookup loop

2007-10-25 Thread Bartlomiej Zolnierkiewicz
On Thursday 25 October 2007, Jeff Garzik wrote: > Store our hwif indices at probe time, in order to eliminate a needless > and ugly loop across all hwifs, searching for our pci device. It seems that we can simplify it even further and remove knowledge about hwifs altogether from suspend/resume met