Re: Platform device id

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dmitry Torokhov <dmitry.torokhov@...>
Cc: Greg KH <gregkh@...>, LKML <linux-kernel@...>, David Brownell <david-b@...>
Date: Friday, September 7, 2007 - 12:36 pm

Hi Dmitry,

Thanks for your answer.

On Fri, 7 Sep 2007 10:58:31 -0400, Dmitry Torokhov wrote:

This "allows" more than "implies".


I agree that in general there is a single i8042 keyboard controller on
a system, but what prevents someone to build a system with several of
these (e.g. in a multi-console computer)?

I agree that "i80420" was a confusing name, but now that a dot was
inserted between the name and the id, it wouldn't be a problem to have
a device named "i8042.0", would it?


This isn't that easy. For a given kind of device, some systems might
have only one, it might even be strictly impossible to ever have more
than one by design, but other systems might not have this limitation
and may actually have several instances of said device. As we try to
make our drivers as platform-independent as possible, the drivers
themselves can't assume that only either scheme is used, they have to
support both.

-- 
Jean Delvare
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Platform device id, Jean Delvare, (Fri Sep 7, 9:35 am)
Re: Platform device id, Greg KH, (Sat Sep 8, 9:30 am)
[PATCH] Make platform_device.id an int, Jean Delvare, (Sun Sep 9, 6:54 am)
Re: Platform device id, Dmitry Torokhov, (Fri Sep 7, 10:58 am)
Re: Platform device id, Henrique de Moraes Holschuh..., (Fri Sep 7, 4:56 pm)
Re: Platform device id, Jean Delvare, (Sat Sep 8, 4:40 am)
Re: Platform device id, Henrique de Moraes Holschuh..., (Mon Sep 10, 6:45 pm)
Re: Platform device id, David Brownell, (Fri Sep 7, 12:41 pm)
Re: Platform device id, Henrique de Moraes Holschuh..., (Fri Sep 7, 5:00 pm)
Re: Platform device id, David Brownell, (Fri Sep 7, 5:41 pm)
Re: Platform device id, Henrique de Moraes Holschuh..., (Fri Sep 7, 6:04 pm)
Re: Platform device id, David Brownell, (Fri Sep 7, 8:18 pm)
Re: Platform device id, Henrique de Moraes Holschuh..., (Fri Sep 7, 11:50 pm)
Re: Platform device id, Jean Delvare, (Sat Sep 8, 4:55 am)
Re: Platform device id, Henrique de Moraes Holschuh..., (Mon Sep 10, 6:52 pm)
Re: Platform device id, Jean Delvare, (Tue Sep 11, 3:43 am)
Re: Platform device id, Henrique de Moraes Holschuh..., (Tue Sep 11, 9:44 am)
Re: Platform device id, Jean Delvare, (Tue Sep 11, 10:05 am)
Re: Platform device id, Jean Delvare, (Fri Sep 7, 12:36 pm)