From: M. R. B. <mr...@us...> - 2002-05-01 19:00:19
|
Update of /cvsroot/linuxdc/linux-sh-dc/arch/sh/kernel In directory usw-pr-cvs1:/tmp/cvs-serv22002/arch/sh/kernel Modified Files: io_dc.c Log Message: Fix offset for 0x1fx address Index: io_dc.c =================================================================== RCS file: /cvsroot/linuxdc/linux-sh-dc/arch/sh/kernel/io_dc.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- io_dc.c 1 May 2002 18:36:23 -0000 1.1 +++ io_dc.c 1 May 2002 19:00:10 -0000 1.2 @@ -12,7 +12,7 @@ unsigned long dreamcast_isa_port2addr(unsigned long offset) { if ((offset >= 0x1f0) && (offset <= 0x1f7)) { - return EXTERNAL_IDE_BASE + offset; + return EXTERNAL_IDE_BASE + (offset - 0x1f0); } if (offset == 0x3f6) { return EXTERNAL_IDE_ALTSTAT; |