Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 1999 14:38:09 +1030 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Alex <al.feldman@sangoma.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   RE: PCI device drivers
Message-ID:  <XFMail.991207143809.doconnor@gsoft.com.au>
In-Reply-To: <199912070049.QAA22811@www.geocrawler.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Dec-99 Alex wrote:
>  in my device driver, that can returns me device 
>  configuration (pcici_t)? (like in Linux - 
>  pcibios_find_device)
>  Thanks for any help?

Thats not the way its done in FreeBSD..

Your probe routine is called when the system wants to know if a given device
can be handled by your driver.

Read /usr/src/sys/pci/if_fxp.c

Actually all of /usr/src/sys/pci/* is interesting reading :)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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