Re: newbus ioport usage
From: M. Warner Losh (imp_at_bsdimp.com)
Date: 01/27/04
- Previous message: Nate Lawson: "Re: newbus ioport usage"
- In reply to: Nate Lawson: "Re: newbus ioport usage"
- Next in thread: Nate Lawson: "Re: newbus ioport usage"
- Reply: Nate Lawson: "Re: newbus ioport usage"
- Reply: Nate Lawson: "Re: newbus ioport usage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 18:17:20 -0700 (MST) To: nate@root.org
In message: <20040126165523.W30461@root.org>
Nate Lawson <nate@root.org> writes:
: Ok, I'm doing the set/alloc and it works. However, one weird thing. If I
: allocate all ports at boot time, it succeeds. My driver goes through
: multiple release/allocate cycles and it all works as expected. However if
: I boot and attach to only one of the registers, subsequent attempts to
: attach the second one fail. The resources are 2 IO ports, 0x101c and
: 0x101d. Both are 1 byte.
Deos devinfo -r show any cause for the problem? Maybe you aren't
releasing them properly? Also, why not allocate them as a block of 2?
Warner
_______________________________________________
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: Nate Lawson: "Re: newbus ioport usage"
- In reply to: Nate Lawson: "Re: newbus ioport usage"
- Next in thread: Nate Lawson: "Re: newbus ioport usage"
- Reply: Nate Lawson: "Re: newbus ioport usage"
- Reply: Nate Lawson: "Re: newbus ioport usage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|