lkml.org 
[lkml]   [1997]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectcheck_region() patch for floppy.c
From
Date
Hi!

Below I've included a small patch to the floppy driver that makes it
check for IO regions before doing any hardware probing. There could be
conflicts between the floppy driver and the ftape driver when
accidentally trying to access a floppy disk while the ftape driver was
using the tape drive (or vice versa). My latest development version of
the ftape driver also uses the check_region() calls before accessing
hardware registers s.t. those conflicts should be solved.

Hopefully the patch doesn't hose up the floppy driver. It works for
me, though. That patch is against 2.1.28. It applies also to 2.0.29,
but I only tested it with 2.1.28.

Cheers

Claus

[unhandled content-type:application/octet-stream] Claus-Justus Heine
claus@momo.math.rwth-aachen.de
http://samuel.math.rwth-aachen.de/~LBFM/claus

PGP Public Key:
http://samuel.math.rwth-aachen.de/~LBFM/claus/claus-public-key.asc

Ftape - the Linux Floppy Tape Project
WWW : http://samuel.math.rwth-aachen.de/~LBFM/claus/ftape
Mailing-list: linux-tape@vger.rutgers.edu
Newsgroup : linux.dev.tape






[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.024 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site