<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/pnp, branch linux-2.6.22.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.22.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2007-07-06T17:23:43+00:00</updated>
<entry>
<title>PNP SMCf010 quirk: work around Toshiba Portege 4000 ACPI issues</title>
<updated>2007-07-06T17:23:43+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2007-07-06T09:39:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=41a5311465b9de6d18e78b733a2c6e1b33e89be8'/>
<id>urn:sha1:41a5311465b9de6d18e78b733a2c6e1b33e89be8</id>
<content type='text'>
When we enable the SMCf010 IR device, the Toshiba Portege 4000 BIOS claims
the device is working, but it really isn't configured correctly.  The BIOS
*will* configure it, but only if we call _SRS after (1) reversing the order
of the SIR and FIR I/O port regions and (2) changing the IRQ from
active-high to active-low.

This patch addresses the 2.6.22 regression:
    "no irda0 interface (2.6.21 was OK), smsc does not find chip"

I tested this on a Portege 4000.  The smsc-ircc2 driver correctly detects
the device, and "irattach irda0 -s &amp;&amp; irdadump" shows transmitted and
received packets.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: "Linus Walleij (LD/EAB)" &lt;linus.walleij@ericsson.com&gt;
Cc: Michal Piotrowski &lt;michal.k.k.piotrowski@gmail.com&gt;
Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>PNP SMCf010 quirk: auto-config device if BIOS left it broken</title>
<updated>2007-06-28T18:34:53+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2007-06-27T21:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=172d0496cd22c98ee2e4238821fa309c01685f3a'/>
<id>urn:sha1:172d0496cd22c98ee2e4238821fa309c01685f3a</id>
<content type='text'>
Some HP firmware leaves the SMCf010 IRDA device incompletely configured, or
reports the wrong resources in _CRS.  As a workaround, when we find such a
device, try to auto-configure the device.

This ignores the _CRS data, picks a config from _PRS, and runs _SRS to
configure the device.  This makes smsc-ircc2 work correctly with PNP
resources (with no preconfiguration!) on all the machines I tested.

I think Windows does something like this by default for all devices,
so we should consider doing the same thing in Linux.

This patch addresses part of the 2.6.22 regression:
    "no irda0 interface (2.6.21 was OK), smsc does not find chip"
It fixes smsc-ircc2 PNP device detection on HP nc6000, nc6220, nw8000,
nw8240, and possibly other machines.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: "Linus Walleij (LD/EAB)" &lt;linus.walleij@ericsson.com&gt;
Cc: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Cc: Michal Piotrowski &lt;michal.k.k.piotrowski@gmail.com&gt;
Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[S390] Kconfig: menus with depends on HAS_IOMEM.</title>
<updated>2007-05-10T13:46:07+00:00</updated>
<author>
<name>Martin Schwidefsky</name>
<email>schwidefsky@de.ibm.com</email>
</author>
<published>2007-05-10T13:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e25df1205f37c7bff3ab14fdfc8a5249f3c69c82'/>
<id>urn:sha1:e25df1205f37c7bff3ab14fdfc8a5249f3c69c82</id>
<content type='text'>
Add "depends on HAS_IOMEM" to a number of menus to make them
disappear for s390 which does not have I/O memory.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>PNP: workaround HP BIOS defect that leaves SMCF010 device partly enabled</title>
<updated>2007-05-08T18:15:23+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2007-05-08T07:36:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a1e7e636fe9fff531a4fc42e65c8e8416fde5220'/>
<id>urn:sha1:a1e7e636fe9fff531a4fc42e65c8e8416fde5220</id>
<content type='text'>
Some HP/Compaq firmware reports via ACPI that the SMCF010 IR device is
enabled, but in fact, it leaves the device partly disabled.

HP nw8240 BIOS 68DTV Ver.  F.0F, released 9/15/2005 is one BIOS that has this
problem.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Keith Owens &lt;kaos@ocs.com.au&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Cc: Matthieu CASTET &lt;castet.matthieu@free.fr&gt;
Cc: Jean Tourrilhes &lt;jt@hpl.hp.com&gt;
Cc: Matthew Garrett &lt;mjg59@srcf.ucam.org&gt;
Cc: Ville Syrjala &lt;syrjala@sci.fi&gt;
Cc: Russell King &lt;rmk+serial@arm.linux.org.uk&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>PNP: notice whether we have PNP devices (PNPBIOS or PNPACPI)</title>
<updated>2007-05-08T18:15:23+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2007-05-08T07:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8f81dd149806bc53c68c92f34d61f88427079039'/>
<id>urn:sha1:8f81dd149806bc53c68c92f34d61f88427079039</id>
<content type='text'>
This series converts i386 and x86_64 legacy serial ports to be platform
devices and prevents probing for them if we have PNP.

This prevents double discovery, where a device was found both by the legacy
probe and by 8250_pnp.

This also prevents the serial driver from claiming IRDA devices (unless they
have a UART PNP ID).  The serial legacy probe sometimes assumed the wrong IRQ,
so the user had to use "setserial" to fix it.

Removing the need for setserial to make IRDA devices work seems good, but it
does break some things.  In particular, you may need to keep setserial from
poking legacy UART stuff back in by doing something like "dpkg-reconfigure
setserial" with the "kernel" option.  Otherwise, the setserial-discovered
"UART" will claim resources and prevent the IRDA driver from loading.

This patch:

If we can discover devices using PNP, we can skip some legacy probes.  This
flag ("pnp_platform_devices") indicates that PNPBIOS or PNPACPI is enabled and
should tell us about builtin devices.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Keith Owens &lt;kaos@ocs.com.au&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Cc: Matthieu CASTET &lt;castet.matthieu@free.fr&gt;
Cc: Jean Tourrilhes &lt;jt@hpl.hp.com&gt;
Cc: Matthew Garrett &lt;mjg59@srcf.ucam.org&gt;
Cc: Ville Syrjala &lt;syrjala@sci.fi&gt;
Cc: Russell King &lt;rmk+serial@arm.linux.org.uk&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pnpbios: convert to use the kthread API</title>
<updated>2007-05-08T18:15:11+00:00</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2007-05-08T07:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=db9c02fa8bd50eb104781a9f78cae923d8da1e74'/>
<id>urn:sha1:db9c02fa8bd50eb104781a9f78cae923d8da1e74</id>
<content type='text'>
This patches modifies the pnpbios kernel thread to start with ktrhead_run
not kernel_thread and deamonize.  Doing this makes the code a little
simpler and easier to maintain.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Cc: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>PNPACPI sets pnpdev-&gt;dev.archdata</title>
<updated>2007-05-08T18:15:08+00:00</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2007-05-08T07:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=55955aad7c09e4d93029d0cf2d360b41891f2fe4'/>
<id>urn:sha1:55955aad7c09e4d93029d0cf2d360b41891f2fe4</id>
<content type='text'>
Teach PNPACPI how to hook up its devices to their ACPI nodes, so that
pnpdev-&gt;dev.archdata points to the parallel acpi device node.  Previously
this only worked for PCI, leaving a notable hole.

Export "acpi_bus_type" so this can work.

Remove some extraneous whitespace.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Cc: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>init dma masks in pnp_dev</title>
<updated>2007-05-08T18:15:00+00:00</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2007-05-08T07:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2e17c5508fa015f2c7690e29041f437e9308c64f'/>
<id>urn:sha1:2e17c5508fa015f2c7690e29041f437e9308c64f</id>
<content type='text'>
PNP now initializes device dma masks, which prevents oopses when generic
dma calls are made using pnp device nodes.

This assumes PNP only uses ISA DMA, with 24 bit addresses; and that it's
safe to init those masks for all devices (rather than finding out which
devices have been assigned DMA channels, and handling only those).

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Adam Belay &lt;abelay@novell.com&gt;
Cc: Jaroslav Kysela &lt;perex@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>PNP: stop using the subsystem rwsem</title>
<updated>2007-04-27T17:57:30+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2007-04-09T15:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=75f1115c9b1a0c24d9025865285870122ec6f811'/>
<id>urn:sha1:75f1115c9b1a0c24d9025865285870122ec6f811</id>
<content type='text'>
The rwsem is not used to protect anything, so the use of it by the PNP
subsystem isn't really useful, and it's doubtful if it really did anything or
not.  So I've removed it.

Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[PATCH] Correctly report PnP 64bit resources</title>
<updated>2007-04-02T17:06:08+00:00</updated>
<author>
<name>Petr Vandrovec</name>
<email>petr@vandrovec.name</email>
</author>
<published>2007-04-02T06:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a2b091dbfb355d0cd35756c6ace0988c9855f3f7'/>
<id>urn:sha1:a2b091dbfb355d0cd35756c6ace0988c9855f3f7</id>
<content type='text'>
Change PnP resource handling code to use proper type for resource start and
length.  Fixes bogus regions reported in /proc/iomem.

I've also made some pointer constant, as they are constant...

Signed-off-by: Petr Vandrovec &lt;petr@vandrovec.name&gt;
Cc: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Adam Belay &lt;ambx1@neo.rr.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
