[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sio0 wiring to a resource patch
- To: freebsd-acpi_(_at_)_freebsd_(_dot_)_org
- Subject: Re: sio0 wiring to a resource patch
- From: othermark <atkin901_(_at_)_yahoo_(_dot_)_com>
- Date: Wed, 12 Jul 2006 07:58:42 -0700
M. Warner Losh wrote:
In message: <e90md5$q6f$1_(_at_)_sea_(_dot_)_gmane_(_dot_)_org>
othermark <atkin901_(_at_)_yahoo_(_dot_)_com> writes:
: M. Warner Losh wrote:
:
: > Please find enclosed an experimental patch. It does two things.
: [...]
: > Anyway, please test these patches out and let me know if you have
: > problems.
: >
: > Warner
Doh! I forgot to include that in my patch. My mistake. Comes from
doing too many things in that branch.
http://people.freebsd.org/~imp/wire-unit.diff
Basically, delete the sio_pci_kludge_unit function, remove its
declaration and the one place it calls it.
That URL/page gives a 404, so I deleted sio_pci_kludge_unit function,
declaration and it's call in sio_pci.c and compiled and installed a new
kernel. I then removed the DSDT.aml and loader.conf files for the
machine and rebooted.
sio0 and sio1 were still backwards and device.hints in boot wasn't
overruling the acpi info.
When the machine boots up, I know that device.hints was loaded correctly
from kenv, although sio0 was wired to 0x2f8 irq 3
hint.sio.0.at="isa"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.0.port="0x3F8"
hint.sio.1.at="isa"
hint.sio.1.irq="3"
hint.sio.1.port="0x2F8"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.irq="5"
hint.sio.2.port="0x3E8"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.irq="9"
hint.sio.3.port="0x2E8"
sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on
acpi0
sio0: type 16550A, console
sio0: [FAST]
sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio1: type 16550A
sio1: [FAST]
In short, not working on this machine at least... Let me know what
other information I can provide.
-Mark
_______________________________________________
freebsd-acpi_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org