projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1778d55
)
I think that if a PCI bus is a root bus, attached to a host bridge not a
author
Dave Airlie
<airlied@starflyer.(none)>
Wed, 23 Nov 2005 10:45:43 +0000
(21:45 +1100)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 23 Nov 2005 10:45:43 +0000
(21:45 +1100)
PCI->PCI bridge, then bus->self is allowed to be NULL. Certainly that's
the case on my Pegasos, and it makes the MGA DRM driver oops...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/mga_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/mga_drv.c
b/drivers/char/drm/mga_drv.c
index 0cc7c305a7f63b87332656afaa040bf9ba2b1a79..1713451a5cc658ba0ca1c8ef291076010c78c7d6 100644
(file)
--- a/
drivers/char/drm/mga_drv.c
+++ b/
drivers/char/drm/mga_drv.c
@@
-161,7
+161,7
@@
static int mga_driver_device_is_agp(drm_device_t * dev)
* device.
*/
- if ((pdev->device == 0x0525)
+ if ((pdev->device == 0x0525)
&& pdev->bus->self
&& (pdev->bus->self->vendor == 0x3388)
&& (pdev->bus->self->device == 0x0021)) {
return 0;