Re: Newbie: Driver for PLX9050

2001-12-08 Thread David Rowe
> I stand partialy correctly, as Mike points out, you need to claim before > the chip driver does so you will have to reboot everytime you do > anything (in which case you should just go ahead and compile it into the > kernel since it's much easier to debug.) I forgot there was a > difference b

Re: Newbie: Driver for PLX9050

2001-12-08 Thread Brooks Davis
On Sun, Dec 09, 2001 at 09:35:58AM +1030, David Rowe wrote: > > No, you can claim PCI devices after boot. It works fine. Stick some > > printfs in your probe code to be sure it's being called correctly and > > what it's being called on. I stand partialy correctly, as Mike points out, you need t

Re: Newbie: Driver for PLX9050

2001-12-08 Thread David Rowe
> No, you can claim PCI devices after boot. It works fine. Stick some > printfs in your probe code to be sure it's being called correctly and > what it's being called on. > OK - this is my probe function: static int mypci_probe(device_t dev) { uprintf("MyPCI Probe\n" "Vendor ID :

Re: Newbie: Driver for PLX9050

2001-12-08 Thread Mike Smith
> > The chip driver is entierly bogus and only claims things that nothing > > else does. This generally means that your probe code isn't working > > correctly because if it were your driver would have claimed this device. > > As I am installing my driver after boot time (using KLD), the chip > d

Re: Newbie: Driver for PLX9050

2001-12-08 Thread Brooks Davis
On Sun, Dec 09, 2001 at 08:30:34AM +1030, David Rowe wrote: > > > The chip driver is entierly bogus and only claims things that nothing > > else does. This generally means that your probe code isn't working > > correctly because if it were your driver would have claimed this device. > > As I am

Re: Newbie: Driver for PLX9050

2001-12-08 Thread David Rowe
> The chip driver is entierly bogus and only claims things that nothing > else does. This generally means that your probe code isn't working > correctly because if it were your driver would have claimed this device. As I am installing my driver after boot time (using KLD), the chip driver has a

Re: Newbie: Driver for PLX9050

2001-12-08 Thread Brooks Davis
On Sat, Dec 08, 2001 at 06:21:55PM +1030, David Rowe wrote: > 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. How

Newbie: Driver for PLX9050

2001-12-07 Thread David Rowe
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 s