Re: newbus ioport usage

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 01/27/04

  • Next message: Nate Lawson: "Re: newbus ioport usage"
    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"


  • Next message: Nate Lawson: "Re: newbus ioport usage"

    Relevant Pages

    • Re: No more floppy drive
      ... Basically, systems that have AML that claim 0x3f2-0x3f5,0x3f7 are ... correct and we need to only allocate those ports. ...
      (freebsd-current)
    • Re: CSocket::Create() - port allocation
      ... The change in the ephemeral port allocation postdates the release of VS6. ... older systems allocate ephemeral ports in the low range; ... ports in the new range. ...
      (microsoft.public.vc.mfc)
    • Re: 2.6.28: Is there a way to disable sata probing for certain ports?
      ... Scanning for devices on channels that have nothing connected adds to the ... boot time, is there anyway to turn off/disable scanning for certain ports to ... disabling the scan for specific ports; that has yet to be implemented. ...
      (Linux-Kernel)
    • Re: Ports 0-1023?
      ... > Is there any point in needing to be root in order to allocate the low ... > simply be used that says a particular UID can allocate a particular range ... > of ports? ... Let's say you don't need to be root anymore. ...
      (Vuln-Dev)
    • Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?
      ... at boot time and deduce all the ports which ACPI would need to request ... ACPI from accessing these I/O ports. ...
      (Linux-Kernel)