Hi Bruno, On Monday 18 June 2012 16:31:30 Bruno Randolf wrote: > The following patch is necessary for the InternetBox (Surfbox) board-specific > idsel to work with newer kernels. Acutally I don't exactly understand why this > was not necessary before, but without the udelay, the MiniPCI adapter in slot 3 > is not detected and set up correctly. > > Also remove platform broken flag, it works.
Good to hear back from you again! I will take care of these, Can you submit the fix to the MIPS tree as well? Thank you! > > Signed-off-by: Bruno Randolf <b...@einfach.org> > --- > target/linux/au1000/Makefile | 2 +- > .../linux/au1000/patches-3.3/004-pci-idsel-cb.diff | 12 ++++++++++++ > 2 files changed, 13 insertions(+), 1 deletion(-) > create mode 100644 target/linux/au1000/patches-3.3/004-pci-idsel-cb.diff > > diff --git a/target/linux/au1000/Makefile b/target/linux/au1000/Makefile > index 5871beb..2405ece 100644 > --- a/target/linux/au1000/Makefile > +++ b/target/linux/au1000/Makefile > @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk > ARCH:=mipsel > BOARD:=au1000 > BOARDNAME:=RMI/AMD AU1x00 > -FEATURES:=jffs2 usb pci broken > +FEATURES:=jffs2 usb pci > SUBTARGETS=au1500 au1550 > MAINTAINER:=Florian Fainelli <flor...@openwrt.org> > > diff --git a/target/linux/au1000/patches-3.3/004-pci-idsel-cb.diff b/target/linux/au1000/patches-3.3/004-pci-idsel-cb.diff > new file mode 100644 > index 0000000..6b36032 > --- /dev/null > +++ b/target/linux/au1000/patches-3.3/004-pci-idsel-cb.diff > @@ -0,0 +1,12 @@ > +--- a/arch/mips/alchemy/board-mtx1.c 2012-06-11 22:02:34.686604093 +0100 > ++++ b/arch/mips/alchemy/board-mtx1.c 2012-06-11 22:04:23.375143044 +0100 > +@@ -228,6 +228,9 @@ > + * adapter on the mtx-1 "singleboard" variant. It triggers a custom > + * logic chip connected to EXT_IO3 (GPIO1) to suppress IDSEL signals. > + */ > ++ > ++ udelay(1); > ++ > + if (assert && devsel != 0) > + /* Suppress signal to Cardbus */ > + alchemy_gpio_set_value(1, 0); /* set EXT_IO3 OFF */ > -- > 1.7.9.5 > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel