Re: Platform device id

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jean Delvare <khali@...>
Cc: Greg KH <gregkh@...>, LKML <linux-kernel@...>, David Brownell <david-b@...>
Date: Friday, September 7, 2007 - 10:58 am

Hi Jean,

On 9/7/07, Jean Delvare <khali@linux-fr.org> wrote:

If a device has a <name>.<instance> scheme this implies possibility of
having several instances of said device in a box. There are a few of
platform devices that can only have one instance - for example i8042
keyboard controller (the -1 special handling came from me because
i80420 name was very confusing - there wasn't a dot separator in the
name back then). Drivers that allow multiple devices should not
attempt to use -1 for the very first instance - this should eliminate
potential for error and special handling that you are talking about.

-- 
Dmitry
-
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)