Help!

char device driver and bus ?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded RSS
Next:  char device driver and bus ?  
Author Message
freegnu
External


Since: Jul 12, 2007
Posts: 2



PostPosted: Thu Jul 12, 2007 6:27 pm    Post subject: char device driver and bus ?
Archived from groups: comp>os>linux>embedded (more info?)

hi all, as we known, linux kernel device driver have three layers:
bus, device and dirver.
but when a char device register, i will added to:
chrdevs[MAX_PROBE_HASH] and it seems dont blong to any bus.
does it means that the kernel only use the array
chrdevs[MAX_PROBE_HASH] to manager the driver and device?
for example, a usb driver and usb device will mach by ID, but when a
serial driver and serial device will mach by what ?

if a char deveice doesnt blong to any bus, how to traversal the
char devices?
the array of chrdevs[MAX_PROBE_HASH] doest EXPORT_SYMBOL
Back to top
Grant Edwards
External


Since: Jun 08, 2004
Posts: 1270



PostPosted: Fri Jul 13, 2007 1:17 pm    Post subject: Re: char device driver and bus ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-07-13, freegnu.DeleteThis@163.com <freegnu.DeleteThis@163.com> wrote:

> hi all, as we known, linux kernel device driver have three layers:
> bus, device and dirver.

Quit multiposting. If you think this question belongs in
multiple groups, cross-post it instead.

--
Grant Edwards grante Yow! I feel better about
at world problems now!
visi.com
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum