Date: Mon, 26 Jan 2004 14:04:10 -0800 (PST) From: Nate Lawson <nate@root.org> To: arch@freebsd.org Subject: newbus ioport usage Message-ID: <20040126140100.T29680@root.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040126140100.T29680>
