newbus ioport usage
From: Nate Lawson (nate_at_root.org)
Date: 01/26/04
- Previous message: M. Warner Losh: "Re: Device Driver Problem, Embedded Development"
- Next in thread: M. Warner Losh: "Re: newbus ioport usage"
- Reply: M. Warner Losh: "Re: newbus ioport usage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 14:04:10 -0800 (PST) To: arch@freebsd.org
I have a driver that knows the IO port it wants. It's not set up by a
parent bus, so I can't use bus_set_resource(). This call returns NULL.
Any idea how to debug why newbus is rejecting this request? The io port
is not in use and the rid is unique.
bus_alloc_resource(dev, SYS_RES_IOPORT, rid, 0x101c, 0x101c, 1,
RF_ACTIVE);
Thanks,
-Nate
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: M. Warner Losh: "Re: Device Driver Problem, Embedded Development"
- Next in thread: M. Warner Losh: "Re: newbus ioport usage"
- Reply: M. Warner Losh: "Re: newbus ioport usage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|