[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/43520: ral(4) at usb(4) doesn't compile on ports without pci(4)
Note: There was a bad value `' for the field `Class'.
It was set to the default value of `sw-bug'.
>Synopsis: ral(4) at usb(4) doesn't compile on ports without pci(4)
>Arrival-Date: Fri Jun 25 16:35:00 +0000 2010
>Originator: Izumi Tsutsui
>Release: NetBSD 5.99.30
System: NetBSD mirage 5.99.30 hpcarm on W-ZERO3 WS003SH
Machine: hpcarm, but probably affects more ports
ral(4) requires MI src/sys/dev/rt2661.c, but it includes <dev/pci/pcidevs.h>
to refer PCI device IDs for ral(4) at pci(4).
The pcidevs.h includes <machine/pci_machpdep.h> which is not provided
on ports that don't have PCI, so ral(4) at usb(4) doesn't compile
on such ports.
Configure ral(4) at usb(4) on hpcarm (or other PXA27x based ports
without PCI) and build a kernel.
- move PCI dependent code from MI source to a bus dependent hook function?
- define and use ral(4) own IDs instead of IDs from pcidevs.h?
Main Index |
Thread Index |