my driver, and i'm trying to compile it to test it. I tryed to use
/usr/share/examples/drivers/make_device_driver.sh to build the whole
stuff, but it doesn't work... Anyway I put the driver.c and the header i
built to /usr/src/sys/dev/wd/ and trying to compile it with gcc -I/sys
but it gives me a bunch of errors about definitions it doesn't find
(definitions of kernel functions and structures). I didn't find this
question in the FAQ so my question is: now that the .c is written, how
do i compile it and link it to the kernel image? My previous post was
about the use of the NewBus interface for accessing PCI devices, could
some of you please have a look at my driver (it's about 200 lines with
includes and comments and stuff)
http://chiakotay.acaro.org/acaro/wd1100/ .
Thanks in advance,
Claudio Martella _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"