mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-06 17:50:22 +01:00
dirty hack to make mach64 work, (don't worry I'll get around to fixing it
asap..)
This commit is contained in:
parent
373d67702c
commit
1ee210e3b5
2 changed files with 8 additions and 0 deletions
|
|
@ -708,14 +708,18 @@ static int __init drm_init( void )
|
|||
pdev = pci_get_subsys(DRM(pciidlist[i]).vendor, DRM(pciidlist[i]).device, DRM(pciidlist[i]).subvendor, DRM(pciidlist[i]).subdevice, NULL);
|
||||
if (pdev)
|
||||
{
|
||||
#ifndef __MACH64_H__
|
||||
pdriver = pci_dev_driver(pdev);
|
||||
if (pdriver)
|
||||
{
|
||||
#endif
|
||||
DRM(fb_loaded)=1;
|
||||
drm_probe(pdev, &DRM(pciidlist[i]));
|
||||
#ifndef __MACH64_H__
|
||||
}
|
||||
else
|
||||
pci_dev_put(pdev);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -708,14 +708,18 @@ static int __init drm_init( void )
|
|||
pdev = pci_get_subsys(DRM(pciidlist[i]).vendor, DRM(pciidlist[i]).device, DRM(pciidlist[i]).subvendor, DRM(pciidlist[i]).subdevice, NULL);
|
||||
if (pdev)
|
||||
{
|
||||
#ifndef __MACH64_H__
|
||||
pdriver = pci_dev_driver(pdev);
|
||||
if (pdriver)
|
||||
{
|
||||
#endif
|
||||
DRM(fb_loaded)=1;
|
||||
drm_probe(pdev, &DRM(pciidlist[i]));
|
||||
#ifndef __MACH64_H__
|
||||
}
|
||||
else
|
||||
pci_dev_put(pdev);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue