Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 1998 17:09:52 +0000
From:      eT <edebruin@iname.com>
To:        hackers@FreeBSD.ORG
Subject:   attaching devices
Message-ID:  <35DC5860.1B07E107@iname.com>

next in thread | raw e-mail | index | archive | help
Greets,

I have a few questions regarding writing a PCI device driver with I/O
address access to the PCI chip as opposed to memory mapped access:

1. what does the kernel do/want when it attaches the driver?
2. which pci_* functions are relevant for I/O access to PCI chip?
3. what does pci_attach() do?
4. many of the examples in /usr/src/sys/pci have the xx_softc
structure.  is this thee structure for accessing and controlling the PCI
chip and whatever other chips are on the device?

Regards

eT

--
Etienne de Bruin
E-mail: edebruin@iname.com OR edebruin@netscape.net
WWW: http://listen.to/eT
Forcefully advancing the Kingdom




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?35DC5860.1B07E107>