Date: Sat, 08 Dec 2001 18:21:55 +1030 From: David Rowe <david@voicetronix.com.au> To: hackers@freebsd.org Subject: Newbie: Driver for PLX9050 Message-ID: <3C11C69B.F2898B1D@voicetronix.com.au>
next in thread | raw e-mail | index | archive | help
Hello, I am new to FreeBSD and am attempting to write a device driver for a Computer Telephony card, that uses the PLX9050 bridge chip. I started with the KLD sample in section 22.1 of the FreeBSD Developers Handbook. However, when I install this driver with kldload, the probe function doesnt seem to find my card. This puzzled me for a while, until I checked out dmesg: pci0: <unknown card> (vendor=0x15e2, dev=0x0500) at 9.0 chip2: <PCI to Other bridge (vendor=10b5 device=9050)> port 0x7000-0x707f mem 0xe4022000-0xe40220ff,0xe4000000-0xe401ffff,0xe4020000-0xe402007f irq 10 at device 10.0 on pci0 pci0: <S3 ViRGE graphics accelerator> at 11.0 irq 12 ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x7400-0x741f irq 9 at device 12.0 on pci0 It seems that the kernel is finding my card (PCI to Other bridge) and installing some sort of driver for it at boot time. OK - so my questions are: 1) How do I access the PLX chip thru this built in "chip2" driver? 2) Do I need to write a kernel mode driver that somehow talks to the chip2 driver? 3) Or can I do it all from user mode? Thanks in advance for any suggestions, David 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?3C11C69B.F2898B1D>