<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/block/floppy.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-07-20T03:38:54Z</updated>
<entry>
<title>floppy: fix lock imbalance</title>
<updated>2009-07-20T03:38:54Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2009-06-30T18:41:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adb49b219d3199a39f5894431012b3c2e3bedee0'/>
<id>urn:sha1:adb49b219d3199a39f5894431012b3c2e3bedee0</id>
<content type='text'>
commit 8516a500029890a72622d245f8ed32c4e30969b7 upstream.

A crappy macro prevents us unlocking on a fail path.

Expand the macro and unlock appropriatelly.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>floppy: provide a PNP device table in the module.</title>
<updated>2009-04-03T02:04:49Z</updated>
<author>
<name>Scott James Remnant</name>
</author>
<published>2009-04-02T23:56:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=83f9ef463bcb4ba7b4fee1d6212fac7d277010d3'/>
<id>urn:sha1:83f9ef463bcb4ba7b4fee1d6212fac7d277010d3</id>
<content type='text'>
The missing device table means that the floppy module is not auto-loaded,
even when the appropriate PNP device (0700) is found.

We don't actually use the table in the module, since the device doesn't
have a struct pnp_driver, but it's sufficient to cause an alias in the
module that udev/modprobe will use.

Signed-off-by: Scott James Remnant &lt;scott@canonical.com&gt;
Signed-off-by: Tim Gardner &lt;tim.gardner@canonical.com&gt;
Cc: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Cc: Philippe De Muyter &lt;phdm@macqel.be&gt;
Acked-by: Kay Sievers &lt;kay.sievers@vrfy.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>platform: make better use of to_platform_{device,driver}() macros</title>
<updated>2009-03-24T23:38:24Z</updated>
<author>
<name>Eric Miao</name>
</author>
<published>2009-01-31T14:47:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71b3e0c1ad90f28e34c105069175cbd4edb43dfa'/>
<id>urn:sha1:71b3e0c1ad90f28e34c105069175cbd4edb43dfa</id>
<content type='text'>
This helps the code look more consistent and cleaner.

Signed-off-by: Eric Miao &lt;eric.miao@marvell.com&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>floppy: request and release only the ports we actually use</title>
<updated>2009-02-18T23:37:55Z</updated>
<author>
<name>Philippe De Muyter</name>
</author>
<published>2009-02-18T22:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a74db06cc8d36a325913aa4968ae169f997a466'/>
<id>urn:sha1:5a74db06cc8d36a325913aa4968ae169f997a466</id>
<content type='text'>
The floppy driver requests an I/O port it doesn't need, and sometimes this
causes a conflict with a motherboard device reported by PNPBIOS.

This patch makes the floppy driver request and release only the ports it
actually uses.  It also factors out the request/release stuff and the
io-ports list so they're all in one place now.

The current floppy driver uses only these ports:

    0x3f2 (FD_DOR)
    0x3f4 (FD_STATUS)
    0x3f5 (FD_DATA)
    0x3f7 (FD_DCR/FD_DIR)

but it requests 0x3f2-0x3f5 and 0x3f7, which includes the unused port
0x3f3.

Some BIOSes report 0x3f3 as a motherboard resource.  The PNP system driver
reserves that, which causes a conflict when the floppy driver requests
0x3f2-0x3f5 later.

Philippe reported that this conflict broke the floppy driver between
2.6.11 and 2.6.22.  His PNPBIOS reports these devices:

    $ cat 00:07/id 00:07/resources	# motherboard device
    PNP0c02
    state = active
    io 0x80-0x80
    io 0x10-0x1f
    io 0x22-0x3f
    io 0x44-0x5f
    io 0x90-0x9f
    io 0xa2-0xbf
    io 0x3f0-0x3f1
    io 0x3f3-0x3f3

    $ cat 00:03/id 00:03/resources	# floppy device
    PNP0700
    state = active
    io 0x3f4-0x3f5
    io 0x3f2-0x3f2

Reference:
    http://lkml.org/lkml/2009/1/31/162

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Philippe De Muyter &lt;phdm@macqel.be&gt;
Reported-by: Philippe De Muyter &lt;phdm@macqel.be&gt;
Tested-by: Philippe De Muyter &lt;phdm@macqel.be&gt;
Cc: Adam M Belay &lt;abelay@mit.edu&gt;
Cc: Robert Hancock &lt;hancockrwd@gmail.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>Create/use more directory structure in the Documentation/ tree.</title>
<updated>2008-11-14T17:28:53Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2008-11-13T21:33:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31c00fc15ebd35c1647775dbfc167a15d46657fd'/>
<id>urn:sha1:31c00fc15ebd35c1647775dbfc167a15d46657fd</id>
<content type='text'>
Create Documentation/blockdev/ sub-directory and populate it.
Populate the Documentation/serial/ sub-directory.
Move MSI-HOWTO.txt to Documentation/PCI/.
Move ioctl-number.txt to Documentation/ioctl/.
Update all relevant 00-INDEX files.
Update all relevant Kconfig files and source files.

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] switch floppy</title>
<updated>2008-10-21T11:47:49Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-03-02T14:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4af9b48cb480f5016947bbd3f396c265c7cb368'/>
<id>urn:sha1:a4af9b48cb480f5016947bbd3f396c265c7cb368</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] beginning of methods conversion</title>
<updated>2008-10-21T11:47:32Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-03-02T14:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4430d62fa77208824a37fe6f85ab2831d274769'/>
<id>urn:sha1:d4430d62fa77208824a37fe6f85ab2831d274769</id>
<content type='text'>
To keep the size of changesets sane we split the switch by drivers;
to keep the damn thing bisectable we do the following:
	1) rename the affected methods, add ones with correct
prototypes, make (few) callers handle both.  That's this changeset.
	2) for each driver convert to new methods.  *ALL* drivers
are converted in this series.
	3) kill the old (renamed) methods.

Note that it _is_ a flagday; all in-tree drivers are converted and by the
end of this series no trace of old methods remain.  The only reason why
we do that this way is to keep the damn thing bisectable and allow per-driver
debugging if anything goes wrong.

New methods:
	open(bdev, mode)
	release(disk, mode)
	ioctl(bdev, mode, cmd, arg)		/* Called without BKL */
	compat_ioctl(bdev, mode, cmd, arg)
	locked_ioctl(bdev, mode, cmd, arg)	/* Called with BKL, legacy */

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] eliminate use of -&gt;f_flags in block methods</title>
<updated>2008-10-21T11:47:08Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2007-08-26T23:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86d434dede14108dd917b25af0f29c0cb28b8d18'/>
<id>urn:sha1:86d434dede14108dd917b25af0f29c0cb28b8d18</id>
<content type='text'>
store needed information in f_mode

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] introduce fmode_t, do annotations</title>
<updated>2008-10-21T11:47:06Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-09-02T19:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aeb5d727062a0238a2f96c9c380fbd2be4640c6f'/>
<id>urn:sha1:aeb5d727062a0238a2f96c9c380fbd2be4640c6f</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge commit 'origin'</title>
<updated>2008-10-15T00:31:54Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2008-10-15T00:31:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6dc6472581f693b5fc95aebedf67b4960fb85cf0'/>
<id>urn:sha1:6dc6472581f693b5fc95aebedf67b4960fb85cf0</id>
<content type='text'>
Manual fixup of conflicts on:

	arch/powerpc/include/asm/dcr-regs.h
	drivers/net/ibm_newemac/core.h</content>
</entry>
</feed>
