In message <[EMAIL PROTECTED]>, Rink Springer さんいわく:
>I got the stuff to compile et al, but I cannot get the darned thing to
>run as a KLD. FreeBSD doesn't appear to try to probe for the interface
>:(. When I tell FreeBSD it's a PCI thing (instead of ISA), it probes for
>it...
>
>How can I fix this? I want my driver to auto-try all parallel port
>addresses, but without having to mark it as a PCI device... anyone?
There is two way.
1.Write device_identify method and put auto-probe scheme to this.and ,if found,
use BUS_ADD_CHILD to add your driver as ISA driver and
use BUS_SET_RESOURCE to set resource you found.
2.Give up autoprobing and add your device configuration to
/boot/device.hints and boot (Kernel reconfiguration is not needed) .Then
load your driver with kldload.
If you don't register device_detach method, your driver cannot be unloaded.
Takanori Watanabe
<a href="http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html">
Public Key</a>
Key fingerprint = 2C 51 E2 78 2C E1 C5 2D 0F F1 20 A3 11 3A 62 2A
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message