Date: Sun, 4 Feb 2001 01:43:23 +0100 (CET) From: Oliver Fleischmann <fleischmann@ki.tng.de> To: freebsd-hackers@freebsd.org Subject: Setting bus resources from a module Message-ID: <Pine.BSF.4.21.0102040135360.2105-100000@chimaira.fileforce.de>
next in thread | raw e-mail | index | archive | help
Hi, I have some problems understanding how resources like the I/O Port or IRQ are set from a loadable kernel module. I tried to construct a module to access the generic joystick port on the isa bus. But i don't understand how the resources are set for the port. Is it right to do a BUS_ADD_CHILD call in the identify method and then call the bus_set_resource function to set the I/O port ? If it is so, where can i find the definition for BUS_ADD_CHILD ? I don't know what this function exactly does. Perhaps there are other ways to solve my problem. I hope you can help me. Thanks in advance, Oliver Fleischmann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102040135360.2105-100000>
