patch-2.4.10 linux/drivers/char/drm/drm_ioctl.h
Next file: linux/drivers/char/drm/drm_scatter.h
Previous file: linux/drivers/char/drm/drm_drv.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sun Sep 23 10:31:41 2001
- Orig file:
v2.4.9/linux/drivers/char/drm/drm_ioctl.h
- Orig date:
Sun Aug 12 13:27:59 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/char/drm/drm_ioctl.h linux/drivers/char/drm/drm_ioctl.h
@@ -98,7 +98,6 @@
}
sprintf(dev->devname, "%s@%s", dev->name, dev->unique);
-#ifdef __alpha__
do {
struct pci_dev *pci_dev;
int b, d, f;
@@ -114,10 +113,13 @@
if (*p) break;
pci_dev = pci_find_slot(b, PCI_DEVFN(d,f));
- if (pci_dev)
- dev->hose = pci_dev->sysdata;
- } while(0);
+ if (pci_dev) {
+ dev->pdev = pci_dev;
+#ifdef __alpha__
+ dev->hose = pci_dev->sysdata;
#endif
+ }
+ } while(0);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)