char device driver and bus ?
- From: "freegnu@xxxxxxx" <freegnu@xxxxxxx>
- Date: Thu, 12 Jul 2007 18:19:36 -0700
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 ?
ok , 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
.
- Follow-Ups:
- Re: char device driver and bus ?
- From: Grant Edwards
- Re: char device driver and bus ?
- Prev by Date: Undefined SysCall
- Next by Date: Re: About Parallelism
- Previous by thread: Undefined SysCall
- Next by thread: Re: char device driver and bus ?
- Index(es):
Relevant Pages
|