more Device enumeration

Alok Barsode <[email protected]> Sat, 30 Sep 2006 05:00:43 -0700 (PDT)
Newsgroups gmane.os.freebsd.devel.new-bus
Message-ID <[email protected]>
hello,=20

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?=20

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

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=20
http://mail.yahoo.com=20
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-new-bus
To unsubscribe, send any mail to "[email protected]=
"