Hi,

Le 04/16/12 04:10, Jeroen van Bemmel a écrit :
Attached the patch to fix support for the D-Link DVA-G3810BN, generated
by quilt

Signed-Off-By: Jeroen van Bemmel <jbem...@zonnet.nl>

Your patch is mangled by your mailer and does not apply as-is, please use git-send-email to send it properly formatted to this list, along with the patches for kernels 3.0, 3.1, 3.2 and 3.3 please.

Use make target/linux/refresh to help you in the process.

Thanks!
--
Florian


--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -2137,6 +2137,71 @@ static struct board_info __initdata boar
},
}
};
+
+/* D-Link DVA-G3810BN/TL */
+static struct board_info __initdata board_DVAG3810BN = {
+ .name = "DVAG3810BN",
+ .expected_cpu_id = 0x6358,
+
+ .has_uart0 = 1,
+ .has_enet0 = 1,
+ .has_enet1 = 1,
+ .has_pci = 1,
+
+ .enet0 = {
+ .has_phy = 0, // else warnings during boot
+ .use_internal_phy = 1,
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+ .enet1 = {
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+
+ .has_ohci0 = 1,
+ .has_pccard = 1,
+ .has_ehci0 = 1,
+
+ .leds = {
+ {
+ .name = "VoIP",
+ .gpio = 1,
+ },
+ {
+ .name = "DSL",
+ .gpio = 22,
+ .active_low = 1,
+ },
+ {
+ .name = "Internet",
+ .gpio = 23,
+ .active_low = 1,
+ },
+ {
+ .name = "power",
+ .gpio = 4,
+ .default_trigger = "default-on",
+ },
+ {
+ .name = "stop",
+ .gpio = 5,
+ },
+ },
+
+ .buttons = {
+ {
+ .desc = "reset",
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .threshold = 3,
+ },
+ },
+};
#endif

/*
@@ -2327,6 +2392,7 @@ static const struct board_info __initdat
&board_nb4_fxc_r2,
&board_HW553,
&board_spw303v,
+ &board_DVAG3810BN,
#endif

#ifdef CONFIG_BCM63XX_CPU_6368

On 04/11/2012 05:30 PM, Conor O'Gorman wrote:
On Wed, 2012-04-11 at 21:00 +0200, jbem...@zonnet.nl wrote:
Hi Salander,

Yes, I studied that, but my problem is that my changes to
board_bcm63xx.c are under build_dir. I'm not sure where the original
file lives in SVN, it could be in some tar ball?

There's several similar patches (e.g.
https://dev.openwrt.org/browser/trunk/target/linux/brcm63xx/patches-3.3/512-board_BTV2110.patch),
but I don't see against which directory those were
made?
You need to use the quilt patch management tool. It's covered here
http://wiki.openwrt.org/doc/devel/patches. In particular you are looking
at a kernel patch.

The patch you mention above is to be applied to the linux brcm63xx 3.3
kernel tree under build_dir.

The birds-eye-view is that these patches are applied in the build_dir
tree. With the help of quilt you will make an edit in the build_dir tree
and it will become a patch in the target tree.

Conor


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to