On Friday 18 June 2004 10:30 pm, [EMAIL PROTECTED] wrote:
> sorry, i used the wrong email addy to send that email, i've resent it using
> the correct one.

I believe your problem may be that you are probing PnP BIOS or other PnP ISA 
devices.  You should reject any device that has a PnP HID.  For example, in 
rc(4) I did:


static int
rc_probe(device_t dev)
{
        u_int port;
        int i, found;

        /*
         * We don't know of any PnP ID's for these cards.
         */
        if (isa_get_logicalid(dev) != 0)
                return (ENXIO);

        ...
}

Also, you shouldn't have to use 'device_set_driver()' in your identify 
routine.  To be honest, you also don't really need an identify routine so 
long as you have hints (on 5.x) for the ser0 device (like:

hint.ser.0.at="isa"
hint.ser.0.port="0x2f8"

Or a line in the kernel config (on 4.x) like so:

device  ser0    at isa? port 0x2f8

-- 
John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to