swim3 + ide-floppy devfs patch (was Re: Q: devfs and swim3)

Tom Rini trini at kernel.crashing.org
Sat May 12 11:25:06 EST 2001


On Wed, Mar 28, 2001 at 11:19:52PM +0200, Christiaan Welvaart wrote:
>
> On Fri, 2 Mar 2001 bj93543 at binghamton.edu wrote:
>
> > Is there known any reason why swim3 floppy controler is not inserted
> > in devfs ?
> > or can be swim3.c patched like:
> >
> > -swim3.c:1034:  ...register_blkdev...
> > +swim3.c:1034:  ...devfs_register_blkdev...
>
> This is not enough, it just prevents the floppy driver to be registered if
> you tell devfs to not use the old-style device system with major/minor
> numbers I believe. Below a patch that seems to work, though I'm not sure
> if the permissions are right. I also included a patch for ide-floppy since
> my zip drive was missing from devfs as well. That one should probably be
> sent to the regular linux-kernel list though.

[I ment to do something about this sooner, really].
I've applied the swim3 patch to the 2_4 bk tree, so this should propogate
eventually.  The ide-floppy one really should goto l-k or better yet the
IDE maintainer.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list