From: Ben Gras Date: Tue, 20 Feb 2007 18:42:43 +0000 (+0000) Subject: at_wini also needs a pci_reserve() for the pci compatability device, if X-Git-Tag: v3.1.3~67 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=f7992c94ec8fdc7281723cfd323074cb8b54b1af;p=minix.git at_wini also needs a pci_reserve() for the pci compatability device, if present, for dma. --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 5a8acb839..4b3339106 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -535,7 +535,7 @@ PRIVATE void init_drive(struct wini *w, int base_cmd, int base_ctl, *===========================================================================*/ PRIVATE void init_params_pci(int skip) { - int i, r, devind, drive; + int i, r, devind, drive, pci_compat = 0; int irq, irq_hook, raid; u8_t bcr, scr, interface; u16_t vid, did; @@ -650,8 +650,10 @@ PRIVATE void init_params_pci(int skip) /* Update base_dma for compatibility device */ for (i= 0; i