I'm not aware of MAKDEV script, but MKDEV is a kernel
function call. It takes the major and minor number as
parameters and should make a devcie instance, I think.
The register_chrdev is the one getting the dynamic
major number assigned by the system, my guess is once
it get assigned in /proc/devices, the new device
driver is registered to the system.   I'm new to
Linux, are my assumptions correct?

--- Marc SCHAEFER <[EMAIL PROTECTED]> wrote:
> Stanley Wu <[EMAIL PROTECTED]> wrote:
> > I'm writing a scsi character device drivers and
> 
> so, you create a NEW driver
> 
> > MKDEV, they all appeared fine.   The /proc/devices
> 
> so how can the MAKEDEV script know about your driver
> ?
> 
> > indicated the major number 254 was assigned to the
> 
> mknod /dev/my_new_scsi_char_driver_0 c 254 0
> 
> I am not exactly following what you are doing.
> 
> 
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-scsi" in
> the body of a message to [EMAIL PROTECTED]
> 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to