Re: fixup_bigphys_addr and DBAu1500 dev board

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

 



On Fri, 2003-02-21 at 19:50, Jeff Baitis wrote:
> Dan & Pete:
> 
> Thank you very much for your help!
> 
> I've patched things up, and my kernel runs, but the yenta_socket kernel module
> still locks the system. Time to break out GDB and take a look at everything!
> Please let me know if ya'll have some suggestions. :*)

yenta socket? There's no hardware on the board to support this.

pcmcia is always a pain in the neck to setup, but it does work on the Db
and Pb boards cause I very recently tested it. Note that I've tested it
only as a module though. The defconfig-db1500 in linux-mips.org already
has pcmcia support turned on. The socket driver module you'll end up
with is drivers/pcmcia/au1x00_ss.o. That's the module you want to load.
Note also that there is a small patch in my directory for pcmcia.

I've tested wireless cards in the past, but not recently. Recently I've
tested ata cards only. You might want to start with that as proof that
you have everything else working.

> After the 36-bit PCI patch, I had to alter include/asm-mips/io.h in order to
> get drivers/net/wireless to compile. Preprocessor expansion of outw_p in the
> hermes.h -> hermes_enable_interrupt and hermes_set_irqmask inline functions
> caused some issues; I hope this patch is of some use!

Only if Ralf applies it :)

Pete

> Regards,
> 
> Jeff
> 
> 
> diff -u -r1.29.2.19 include/asm-mips/io.h
> --- include/asm-mips/io.h        28 Nov 2002 23:04:11 -0000      1.29.2.19
> +++ include/asm-mips/io.h        22 Feb 2003 03:44:27 -0000
> @@ -329,12 +329,25 @@
>         SLOW_DOWN_IO;                                                   \
>  } while(0)
>  
> -#define outw_p(val,port)                                               \
> -do {                                                                   \
> -       *(volatile u16 *)(mips_io_port_base + __swizzle_addr_w(port)) = \
> -               __ioswab16(val);                                        \
> -       SLOW_DOWN_IO;                                                   \
> -} while(0)
> +/* baitisj */
> +static inline u16 outw_p(u16 val, unsigned long port)
> +{
> +    register u16 retval;
> +    do {
> +        retval = *(volatile u16 *)(mips_io_port_base + __swizzle_addr_w(port)) =
> +            __ioswab16(val);
> +        SLOW_DOWN_IO;
> +    } while(0);
> +    return retval;
> +}
> +/*  
> + *  #define outw_p(val,port)                                           \
> + *  do {                                                                       \
> + *     *(volatile u16 *)(mips_io_port_base + __swizzle_addr_w(port)) = \
> + *             __ioswab16(val);                                        \
> + *     SLOW_DOWN_IO;                                                   \
> + *  } while(0)
> + */
>  
>  #define outl_p(val,port)                                               \
>  do {                                                                   \
> 
> 
> 
> On Fri, Feb 21, 2003 at 03:40:44PM -0500, Dan Malek wrote:
> > Jeff Baitis wrote:
> > 
> > > I'd love to know where this mystery fixup_bigphys_addr comes from!?
> > 
> > You need the 36-bit patch from Pete that is not yet part of the
> > linux-mips tree.
> > 
> > You can find it on linux-mips.org in /pub/linux/mips/people/ppopov.
> > 
> > Have fun!
> > 
> > 
> > 	-- Dan
> > 
> > 
> > 



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux