more Device enumeration

Alok Barsode namaskar_alok at yahoo.co.in
Sat Sep 30 05:00:48 PDT 2006


hello, 

Thanks a lot for the reply.

A question which arises is, If the kernel calls the
probe routine (in case of PCI)for all the devices
attached to it during bus-enumeration, whats the point
of having the device entries in GENERIC?does the
bus-dependent code call the probe routine of the
device-driver,for only those devices which are
mentioned in GENERIC file.

I am writing a device driver for a memory mapped
ethernet device.Does it HAVE to be attached to a
bus?Its the only device I want to support(right
now).Is it not possible to hard-code the probe-attach
routine calls?

Can i attach it to nexus? OR Can I attach it to the
PCI bus (though its not a PCI device) through some
hack? 

This is not a i386 port hence the ISA bus is absent. 
Will i have to implement a pseudo-bus (write the
bus-dependent code)in order to attach my device?
       

Thank you,
Alok.


"Let the wisdom of the old guide the buoyancy and vitality of the youth; let the buoyancy and vitality of the youth sustain the wisdom of the old." - Stanislavski

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-new-bus mailing list