ts-7000
[Top] [All Lists]

[ts-7000] inb/outb and PC104 board

To:
Subject: [ts-7000] inb/outb and PC104 board
From: "captian_rm" <>
Date: Fri, 27 Apr 2007 19:28:58 -0000
Hi folks!!!

    Some good news. I have linux 2.6.21 working with a TS-7200 board.
This includes the compact falsh working with the ata layer. Speaking
of we have a few patches that should go into the mainline kernel. When
and how should that be done? 

     Now the problem I have is with a home made pc104 board. For some
reason the driver Oops when using inb/outb. This board is used with a
intel machine as well. So I ported my driver to use the dev_ioport_map
apis. Now I know that the PC104 space is at 0x11E00000 so I did the 
following patch.

diff -urN linux-2.6.21.orig/include/asm-arm/arch-ep93xx/io.h
linux-2.6.21/includ
e/asm-arm/arch-ep93xx/io.h
--- linux-2.6.21.orig/include/asm-arm/arch-ep93xx/io.h  2007-04-25
23:08:32.0000
00000 -0400
+++ linux-2.6.21/include/asm-arm/arch-ep93xx/io.h       2007-04-27
14:54:01.0000
00000 -0400
@@ -4,5 +4,9 @@

 #define IO_SPACE_LIMIT         0xffffffff

+#ifdef CONFIG_MACH_TS72XX      // support for PC-104 ISA space
+#define __io(p)                        ((void __iomem *)(p +
0x11E00000UL))
+#else
 #define __io(p)                        ((void __iomem *)(p))
+#endif
 #define __mem_pci(p)           (p)


It still oops. Is there anything else I need to do to get the pc104
working? 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] inb/outb and PC104 board, captian_rm <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU