mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "victor1 torres" <camel_3@hotmail.com>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: PATCH fdomain-2.4.16
Date: Tue, 27 Nov 2001 23:39:44 +0000	[thread overview]
Message-ID: <F1316YzTMnKXkKo7G450000933a@hotmail.com> (raw)

--- /tmp/foo/fdomain.c.orig	Sun Sep 30 21:26:07 2001
+++ drivers/scsi/fdomain.c	Tue Nov 27 23:59:59 2001
@@ -729,13 +729,13 @@
       switch (Quantum) {
       case 2:			/* ISA_200S */
       case 3:			/* ISA_250MG */
-	 base = readb(bios_base + 0x1fa2) + (readb(bios_base + 0x1fa3) << 8);
+	 base = isa_readb(bios_base + 0x1fa2) + (isa_readb(bios_base + 0x1fa3) << 
8);
	 break;
       case 4:			/* ISA_200S (another one) */
-	 base = readb(bios_base + 0x1fa3) + (readb(bios_base + 0x1fa4) << 8);
+	 base = isa_readb(bios_base + 0x1fa3) + (isa_readb(bios_base + 0x1fa4) << 
8);
	 break;
       default:
-	 base = readb(bios_base + 0x1fcc) + (readb(bios_base + 0x1fcd) << 8);
+	 base = isa_readb(bios_base + 0x1fcc) + (isa_readb(bios_base + 0x1fcd) << 
8);
	 break;
       }

@@ -1955,7 +1955,7 @@
	 offset = bios_base + 0x1f31 + drive * 25;
	 break;
       }
-      memcpy_fromio( &i, offset, sizeof( struct drive_info ) );
+      isa_memcpy_fromio( &i, offset, sizeof( struct drive_info ) );
       info_array[0] = i.heads;
       info_array[1] = i.sectors;
       info_array[2] = i.cylinders;



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


                 reply	other threads:[~2001-11-27 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F1316YzTMnKXkKo7G450000933a@hotmail.com \
    --to=camel_3@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®