[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB storage on Axis 82/83



Thanks.  I'll give it a try later today.

Quinton

On Mon, 16 Jun 2003, Orjan Friberg wrote:

> jansenq@xxxxxxx.com wrote:
> > Hi All,
> > 
> > I'm having trouble getting USB storage compiled for my Axis 83.
> > 
> > Does anyone have a working .config file that they can send me?
> > 
> > Below is the compiling error.
> 
> I changed a couple of things in my kernel tree to get USB Mass Storage 
> working:
> 
> Index: include/asm-cris/pci.h
> ===================================================================
> RCS file: /usr/local/cvs/cvsroot/os/linux/include/asm-cris/pci.h,v
> retrieving revision 1.1
> diff -u -r1.1 pci.h
> --- include/asm-cris/pci.h      29 Nov 2000 17:44:00 -0000      1.1
> +++ include/asm-cris/pci.h      16 Jun 2003 07:52:35 -0000
> @@ -5,5 +5,7 @@
>    * includes it even if CONFIG_PCI is not set.
>    */
> 
> +#define PCI_DMA_BUS_IS_PHYS     (0)
> +
>   #endif /* __ASM_CRIS_PCI_H */
> 
> 
> Index: include/asm-cris/types.h
> ===================================================================
> RCS file: /usr/local/cvs/cvsroot/os/linux/include/asm-cris/types.h,v
> retrieving revision 1.2
> diff -u -r1.2 types.h
> --- include/asm-cris/types.h    29 Nov 2000 17:46:17 -0000      1.2
> +++ include/asm-cris/types.h    16 Jun 2003 07:52:35 -0000
> @@ -44,6 +44,7 @@
>   /* Dma addresses are 32-bits wide, just like our other addresses.  */
> 
>   typedef u32 dma_addr_t;
> +typedef u32 dma64_addr_t;
> 
>   #endif /* __KERNEL__ */
> 
> 
> I have attached my .config file also.
> 
>