Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2006 05:00:43 -0700 (PDT)
From:      Alok Barsode <namaskar_alok@yahoo.co.in>
To:        freebsd-new-bus@freebsd.org
Subject:   more Device enumeration
Message-ID:  <20060930120043.41538.qmail@web8913.mail.in.yahoo.com>
In-Reply-To: <20060928.101531.-957832987.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060930120043.41538.qmail>