lkml.org 
[lkml]   [2005]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFClue] pci_get_device, new driver model
From
Date
On Gwe, 2005-10-07 at 10:18 -0700, William D Waddington wrote:
> Is it ever possible that the hotplug stuff will try to remove and re-add
> one (or all) of my boards when there _hasn't_ been a physical change or
> power cycle/reboot/driver reload/whatever.

Only if the user does it deliberately.

> Still not quite clear how to assocuiate instance/minor #s with boards.
> Do I just keep a global counter and bump it each time probe (or init)
> gets called for each board? Hence my worry above.

It really is up to you. Most drivers just issue the first free minor
number.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-07 20:10    [W:0.053 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site