Subject: Re: WDC/ATA PCMCIA and CardBus problems only with flash (i.e., not w/ microdrive)
To: None <sommerfeld@orchard.arlington.ma.us>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 03/09/2002 13:46:08
On Mar 9,  1:20pm, sommerfeld@orchard.arlington.ma.us (Bill Sommerfeld) wrote:
-- Subject: Re: WDC/ATA PCMCIA and CardBus problems only with flash (i.e., no

| > I thought that was only wdc specific...
| > 
| > christos
| 
| see the following:

Ick... Is there another way this can be handled? Inside the wdc irq handler?

christos

| 
| 	intrhandler()
| 	{
| 		handled = 0;
| 		for(ih = handlers_for_this_irq; ih != nil; ih = ih->next) {
| 			handled += ih->handle(ih->arg);
| 			if(handled)
| 				break;
| 		}
| 		if(!handled && irq == WDC_DISK_IRQ) {
| 			ih = find_ata_disk_ih();
| 			wdcfix(ih->arg);
| 		}
| 	}
-- End of excerpt from Bill Sommerfeld