[Bugme-janitors] [Bug 9487] buggy firmware expects 3-byte IRQ resource descriptor (was: Serial port disappears after Suspend on Toshiba R25)

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Tue Dec 25 13:04:04 PST 2007


http://bugzilla.kernel.org/show_bug.cgi?id=9487





------- Comment #11 from ThJaeger at gmail.com  2007-12-25 13:04 -------
Created an attachment (id=14185)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=14185&action=view)
patch that fixes the issue on my machine

I took the second route, adding a field preserve_four_byte_descriptor to
acpi_resource_irq and acpi_resource_extended_irq that keeps track of whether
_CRS returned a four-byte descriptor, in which case such a descriptor is also
passed to _SRS.
Sorry about talking about three-byte descriptors instead of four-byte ones in
my earlier port, the first byte certainly does belong to the descriptor.

The patch also fixes an obvious bug in  pnpacpi_encode_irq where IRQ resource
information is not properly restored if the IRQ is shared.  I didn't change the
part where shareable is deduced from triggering which I'm pretty sure is also a
bug.

TODO: Choose shorter variable names.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Bugme-janitors mailing list