Bug in drivers/serial/of_serial.c?

Grant Likely grant.likely at secretlab.ca
Mon Nov 23 09:42:24 EST 2009


On Sat, Nov 21, 2009 at 12:45 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Saturday 21 November 2009, Grant Likely wrote:
>> BTW, while looking at that file... Arnd, does the .type = "serial"
>> stuff really need to be there?
>
> Well, serial is one of the few that actually has some preexisting
> binding with a well defined device-type, so I guess we should use
> it.

But device-type describes a OpenFirmware API, not a device register
interface.  Once we're in the kernel and talking to the hardware
directly, device-type has no real meaning because we're not using the
OpenFirmware interface to talk to serial devices in a generic manner.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the Linuxppc-dev mailing list