[Debian-eeepc-devel] [SCM] rt2860 source for the ralink wireless chip in the eeepc 901. branch, master, updated. 49488a500d6bfb0a6c6b064afa99f3c810b84c5f
Glenn Saberton
gsaberton at foomagic.org
Sat Aug 23 08:30:27 UTC 2008
The following commit has been merged in the master branch:
commit 49488a500d6bfb0a6c6b064afa99f3c810b84c5f
Author: Glenn Saberton <gsaberton at foomagic.org>
Date: Sat Aug 23 16:28:43 2008 +0800
Add build patches for 2.6.26 and remove tftboot from makefile.
diff --git a/rt2860-1.7.0.0/debian/patches/01_remove-tft-lines-from-makefile.patch b/rt2860-1.7.0.0/debian/patches/01_remove-tft-lines-from-makefile.patch
new file mode 100644
index 0000000..9a6a754
--- /dev/null
+++ b/rt2860-1.7.0.0/debian/patches/01_remove-tft-lines-from-makefile.patch
@@ -0,0 +1,28 @@
+From 0c141da8c16c23837e8a56586c0ec742f48511ea Mon Sep 17 00:00:00 2001
+From: Glenn Saberton <gsaberton at foomagic.org>
+Date: Sat, 23 Aug 2008 15:46:03 +0800
+Subject: [PATCH] remove tft lines from makefile
+
+---
+ rt2860-1.7.0.0/Makefile | 2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/rt2860-1.7.0.0/Makefile b/rt2860-1.7.0.0/Makefile
+index 6c556b2..0bcda8a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -101,11 +101,9 @@ LINUX:
+ ifneq (,$(findstring 2.4,$(LINUX_SRC)))
+ cp -f os/linux/Makefile.4 $(RT28xx_DIR)/os/linux/Makefile
+ make -C $(RT28xx_DIR)/os/linux/
+- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot
+ else
+ cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile
+ make -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules
+- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot
+ endif
+
+ clean:
+--
+1.5.6.3
+
diff --git a/rt2860-1.7.0.0/debian/patches/02_Fix-compilation-for-2.6.26.patch b/rt2860-1.7.0.0/debian/patches/02_Fix-compilation-for-2.6.26.patch
new file mode 100644
index 0000000..1f1d691
--- /dev/null
+++ b/rt2860-1.7.0.0/debian/patches/02_Fix-compilation-for-2.6.26.patch
@@ -0,0 +1,29 @@
+From aed7162ee346ddcb3400203564fb7b64a96f21b4 Mon Sep 17 00:00:00 2001
+From: Glenn Saberton <gsaberton at foomagic.org>
+Date: Sat, 23 Aug 2008 16:17:05 +0800
+Subject: [PATCH] Fix compilation for 2.6.26.
+
+---
+ rt2860-1.7.0.0/os/linux/rt_main_dev.c | 6 +++++-
+ 1 files changed, 5 insertions(+), 1 deletions(-)
+
+diff --git a/rt2860-1.7.0.0/os/linux/rt_main_dev.c b/rt2860-1.7.0.0/os/linux/rt_main_dev.c
+index 3038ce5..0498f95 100644
+--- a/os/linux/rt_main_dev.c
++++ b/os/linux/rt_main_dev.c
+@@ -801,7 +801,11 @@ static NDIS_STATUS rt_ieee80211_if_setup(struct net_device *dev, PRTMP_ADAPTER p
+
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
+- device = dev_get_by_name(dev->nd_net, slot_name);
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
++ device = dev_get_by_name(dev_net(dev), slot_name);
++#else
++ device = dev_get_by_name(dev->nd_net, slot_name);
++#endif
+ #else
+ device = dev_get_by_name(slot_name);
+ #endif
+--
+1.5.6.3
+
diff --git a/rt2860-1.7.0.0/debian/patches/series b/rt2860-1.7.0.0/debian/patches/series
new file mode 100644
index 0000000..61c2196
--- /dev/null
+++ b/rt2860-1.7.0.0/debian/patches/series
@@ -0,0 +1,3 @@
+01_remove-tft-lines-from-makefile.patch
+02_Fix-compilation-for-2.6.26.patch
+
diff --git a/rt2860-1.7.0.0/tools/bin2h b/rt2860-1.7.0.0/tools/bin2h
deleted file mode 100644
index 492c035..0000000
Binary files a/rt2860-1.7.0.0/tools/bin2h and /dev/null differ
--
rt2860 source for the ralink wireless chip in the eeepc 901.
More information about the Debian-eeepc-devel
mailing list