Changeset 15468


Ignore:
Timestamp:
2009-04-28T15:35:14+02:00 (9 years ago)
Author:
kaloz
Message:

preliminary 2.6.30 support

Location:
trunk/target/linux
Files:
6 deleted
34 edited
4 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/config-2.6.30

    r15453 r15468  
    6666# CONFIG_AUTOFS4_FS is not set 
    6767# CONFIG_AUTOFS_FS is not set 
     68# CONFIG_AUXDISPLAY is not set 
    6869# CONFIG_AX25 is not set 
    6970# CONFIG_AX25_DAMA_SLAVE is not set 
     
    334335# CONFIG_CRYPTO_TWOFISH_COMMON is not set 
    335336# CONFIG_CRYPTO_WP512 is not set 
     337# CONFIG_CRYPTO_ZLIB is not set 
    336338# CONFIG_CRYPTO_XCBC is not set 
    337339# CONFIG_CRYPTO_XTS is not set 
     
    390392CONFIG_EPOLL=y 
    391393# CONFIG_EQUALIZER is not set 
     394# CONFIG_ETHOC is not set 
    392395CONFIG_EVENTFD=y 
    393396CONFIG_EXPERIMENTAL=y 
     
    415418# CONFIG_FIREWIRE is not set 
    416419# CONFIG_FIRMWARE_IN_KERNEL is not set 
     420# CONFIG_FIXED_PHY is not set 
    417421CONFIG_FLATMEM=y 
    418422CONFIG_FLATMEM_MANUAL=y 
     
    421425CONFIG_FRAME_WARN=1024 
    422426# CONFIG_FS_POSIX_ACL is not set 
     427# CONFIG_FSCACHE is not set 
    423428# CONFIG_FTL is not set 
    424429# CONFIG_FTRACE is not set 
     
    488493# CONFIG_HID_SUPPORT is not set 
    489494CONFIG_HIGH_RES_TIMERS=y 
     495# CONFIG_HIGHMEM is not set 
    490496# CONFIG_HIPPI is not set 
    491497# CONFIG_HOSTAP is not set 
     
    503509# CONFIG_HTC_PASIC3 is not set 
    504510# CONFIG_HUGETLB_PAGE is not set 
     511# CONFIG_HW_RANDOM_TIMERIOMEM is not set 
    505512# CONFIG_HWMON is not set 
    506513# CONFIG_HWMON_VID is not set 
     
    795802# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set 
    796803# CONFIG_ISDN_I4L is not set 
     804# CONFIG_ISL29003 is not set 
    797805# CONFIG_ISO9660_FS is not set 
    798806# CONFIG_IWL3945 is not set 
     
    868876CONFIG_LOG_BUF_SHIFT=14 
    869877# CONFIG_LSF is not set 
     878# CONFIG_LSI_ET1011C_PHY is not set 
    870879# CONFIG_LXT_PHY is not set 
    871880CONFIG_MAC80211=m 
     
    950959# CONFIG_MYRI10GE is not set 
    951960# CONFIG_NAMESPACES is not set 
     961# CONFIG_NATIONAL_PHY is not set 
    952962# CONFIG_NCP_FS is not set 
    953963# CONFIG_NE2K_PCI is not set 
     
    967977# CONFIG_NETFILTER_TPROXY is not set 
    968978# CONFIG_NETFILTER_XTABLES is not set 
     979# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set 
    969980# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set 
    970981# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set 
     
    977988# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set 
    978989# CONFIG_NETFILTER_XT_MATCH_HELPER is not set 
     990# CONFIG_NETFILTER_XT_MATCH_HL is not set 
    979991# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set 
    980992# CONFIG_NETFILTER_XT_MATCH_LAYER7 is not set 
     
    10041016# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set 
    10051017# CONFIG_NETFILTER_XT_TARGET_DSCP is not set 
     1018# CONFIG_NETFILTER_XT_TARGET_HL is not set 
    10061019# CONFIG_NETFILTER_XT_TARGET_MARK is not set 
    10071020# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set 
     
    11401153# CONFIG_NF_NAT_SNMP_BASIC is not set 
    11411154# CONFIG_NF_NAT_TFTP is not set 
     1155# CONFIG_NILFS2_FS is not set 
    11421156CONFIG_NL80211=y 
    11431157# CONFIG_NLS is not set 
     
    13451359# CONFIG_RAW_DRIVER is not set 
    13461360# CONFIG_RCU_CPU_STALL_DETECTOR is not set 
     1361# CONFIG_RD_BZIP2 is not set 
     1362# CONFIG_RD_GZIP is not set 
     1363CONFIG_RD_LZMA=y 
    13471364# CONFIG_REALTEK_PHY is not set 
    13481365# CONFIG_REGULATOR is not set 
     
    15221539# CONFIG_SENSORS_FSCHMD is not set 
    15231540# CONFIG_SENSORS_FSCPOS is not set 
     1541# CONFIG_SENSORS_G760A is not set 
    15241542# CONFIG_SENSORS_GL518SM is not set 
    15251543# CONFIG_SENSORS_GL520SM is not set 
     
    15401558# CONFIG_SENSORS_LM92 is not set 
    15411559# CONFIG_SENSORS_LM93 is not set 
     1560# CONFIG_SENSORS_LM95241 is not set 
     1561# CONFIG_SENSORS_LTC4215 is not set 
    15421562# CONFIG_SENSORS_LTC4245 is not set 
    15431563# CONFIG_SENSORS_M41T00 is not set 
  • trunk/target/linux/generic-2.6/patches-2.6.30/004-extra_optimization.patch

    r15251 r15468  
    11--- a/Makefile 
    22+++ b/Makefile 
    3 @@ -560,6 +560,9 @@ endif 
     3@@ -561,6 +561,9 @@ endif 
    44 NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) 
    55 CHECKFLAGS     += $(NOSTDINC_FLAGS) 
  • trunk/target/linux/generic-2.6/patches-2.6.30/007-samsung_flash.patch

    r15251 r15468  
    99 static int cfi_amdstd_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 
    1010 static int cfi_amdstd_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 
    11 @@ -375,12 +376,19 @@ struct mtd_info *cfi_cmdset_0002(struct  
     11@@ -386,12 +387,19 @@ struct mtd_info *cfi_cmdset_0002(struct  
    1212  
    1313                if (extp->MajorVersion != '1' || 
  • trunk/target/linux/generic-2.6/patches-2.6.30/020-mips_multi_machine_support.patch

    r15251 r15468  
    122122--- a/arch/mips/Kconfig 
    123123+++ b/arch/mips/Kconfig 
    124 @@ -810,6 +810,9 @@ config MIPS_DISABLE_OBSOLETE_IDE 
     124@@ -802,6 +802,9 @@ config MIPS_DISABLE_OBSOLETE_IDE 
    125125 config SYNC_R4K 
    126126        bool 
  • trunk/target/linux/generic-2.6/patches-2.6.30/021-mips_simple_prom_emulator.patch

    r15251 r15468  
    11--- a/arch/mips/Kconfig 
    22+++ b/arch/mips/Kconfig 
    3 @@ -812,6 +812,9 @@ config SYNC_R4K 
     3@@ -804,6 +804,9 @@ config SYNC_R4K 
    44  
    55 config MIPS_MACHINE 
  • trunk/target/linux/generic-2.6/patches-2.6.30/065-rootfs_split.patch

    r15251 r15468  
    3838 /* 
    3939  * MTD methods which simply translate the effective address and pass through 
    40 @@ -489,6 +491,156 @@ out_register: 
     40@@ -512,6 +514,156 @@ out_register: 
    4141        return slave; 
    4242 } 
     
    195195  * This function, given a master MTD object and a partition table, creates 
    196196  * and registers slave MTD objects which are bound to the master according to 
    197 @@ -502,14 +654,29 @@ int add_mtd_partitions(struct mtd_info * 
     197@@ -527,14 +679,29 @@ int add_mtd_partitions(struct mtd_info * 
    198198 { 
    199199        struct mtd_part *slave; 
     
    228228        } 
    229229  
    230 @@ -517,6 +684,32 @@ int add_mtd_partitions(struct mtd_info * 
     230@@ -542,6 +709,32 @@ int add_mtd_partitions(struct mtd_info * 
    231231 } 
    232232 EXPORT_SYMBOL(add_mtd_partitions); 
     
    554554--- a/drivers/mtd/mtdchar.c 
    555555+++ b/drivers/mtd/mtdchar.c 
    556 @@ -16,6 +16,7 @@ 
     556@@ -17,6 +17,7 @@ 
    557557  
    558558 #include <linux/mtd/mtd.h> 
     
    562562 #include <asm/uaccess.h> 
    563563  
    564 @@ -773,6 +774,13 @@ static int mtd_ioctl(struct inode *inode 
     564@@ -750,6 +751,13 @@ static int mtd_ioctl(struct inode *inode 
    565565                file->f_pos = 0; 
    566566                break; 
     
    578578--- a/include/linux/mtd/mtd.h 
    579579+++ b/include/linux/mtd/mtd.h 
    580 @@ -100,6 +100,7 @@ struct mtd_oob_ops { 
     580@@ -101,6 +101,7 @@ struct mtd_oob_ops { 
    581581        uint8_t         *oobbuf; 
    582582 }; 
     
    586586        u_char type; 
    587587        uint32_t flags; 
    588 @@ -225,6 +226,9 @@ struct mtd_info { 
    589         struct module *owner; 
     588@@ -241,6 +242,9 @@ struct mtd_info { 
     589        struct device dev; 
    590590        int usecount; 
    591591  
     
    624624--- a/include/mtd/mtd-abi.h 
    625625+++ b/include/mtd/mtd-abi.h 
    626 @@ -93,6 +93,7 @@ struct otp_info { 
     626@@ -95,6 +95,7 @@ struct otp_info { 
    627627 #define ECCGETLAYOUT           _IOR('M', 17, struct nand_ecclayout) 
    628628 #define ECCGETSTATS            _IOR('M', 18, struct mtd_ecc_stats) 
  • trunk/target/linux/generic-2.6/patches-2.6.30/080-mtd_plat_nand_chip_fixup.patch

    r15251 r15468  
    1111--- a/drivers/mtd/nand/plat_nand.c 
    1212+++ b/drivers/mtd/nand/plat_nand.c 
    13 @@ -71,7 +71,18 @@ static int __init plat_nand_probe(struct 
     13@@ -71,7 +71,18 @@ static int __devinit plat_nand_probe(str 
    1414        platform_set_drvdata(pdev, data); 
    1515  
  • trunk/target/linux/generic-2.6/patches-2.6.30/100-netfilter_layer7_2.17.patch

    r15251 r15468  
    1717--- a/include/net/netfilter/nf_conntrack.h 
    1818+++ b/include/net/netfilter/nf_conntrack.h 
    19 @@ -118,6 +118,22 @@ struct nf_conn 
     19@@ -117,6 +117,22 @@ struct nf_conn { 
    2020        u_int32_t secmark; 
    2121 #endif 
     
    4242--- a/net/netfilter/Kconfig 
    4343+++ b/net/netfilter/Kconfig 
    44 @@ -794,6 +794,27 @@ config NETFILTER_XT_MATCH_STATE 
     44@@ -857,6 +857,27 @@ config NETFILTER_XT_MATCH_STATE 
    4545  
    4646          To compile it as a module, choose M here.  If unsure, say N. 
     
    7272--- a/net/netfilter/Makefile 
    7373+++ b/net/netfilter/Makefile 
    74 @@ -84,6 +84,7 @@ obj-$(CONFIG_NETFILTER_XT_MATCH_RECENT)  
     74@@ -88,6 +88,7 @@ obj-$(CONFIG_NETFILTER_XT_MATCH_RECENT)  
    7575 obj-$(CONFIG_NETFILTER_XT_MATCH_SCTP) += xt_sctp.o 
    7676 obj-$(CONFIG_NETFILTER_XT_MATCH_SOCKET) += xt_socket.o 
     
    8282--- a/net/netfilter/nf_conntrack_core.c 
    8383+++ b/net/netfilter/nf_conntrack_core.c 
    84 @@ -202,6 +202,14 @@ destroy_conntrack(struct nf_conntrack *n 
     84@@ -203,6 +203,14 @@ destroy_conntrack(struct nf_conntrack *n 
    8585         * too. */ 
    8686        nf_ct_remove_expectations(ct); 
     
    9696        /* We overload first tuple to link into unconfirmed list. */ 
    9797        if (!nf_ct_is_confirmed(ct)) { 
    98                 BUG_ON(hlist_unhashed(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnode)); 
     98                BUG_ON(hlist_nulls_unhashed(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode)); 
    9999--- a/net/netfilter/nf_conntrack_standalone.c 
    100100+++ b/net/netfilter/nf_conntrack_standalone.c 
    101 @@ -165,6 +165,12 @@ static int ct_seq_show(struct seq_file * 
    102                 return -ENOSPC; 
     101@@ -171,6 +171,12 @@ static int ct_seq_show(struct seq_file * 
     102                goto release; 
    103103 #endif 
    104104  
     
    110110+ 
    111111        if (seq_printf(s, "use=%u\n", atomic_read(&ct->ct_general.use))) 
    112                 return -ENOSPC; 
     112                goto release; 
    113113  
    114114--- /dev/null 
  • trunk/target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch

    r15251 r15468  
    1111--- a/net/ipv4/netfilter/ip_tables.c 
    1212+++ b/net/ipv4/netfilter/ip_tables.c 
    13 @@ -88,6 +88,9 @@ ip_packet_match(const struct iphdr *ip, 
     13@@ -87,6 +87,9 @@ ip_packet_match(const struct iphdr *ip, 
    1414  
    1515 #define FWINV(bool, invflg) ((bool) ^ !!(ipinfo->invflags & (invflg))) 
     
    2121                  IPT_INV_SRCIP) 
    2222            || FWINV((ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, 
    23 @@ -147,13 +150,32 @@ ip_packet_match(const struct iphdr *ip, 
     23@@ -137,13 +140,32 @@ ip_packet_match(const struct iphdr *ip, 
    2424                return false; 
    2525        } 
     
    5656                         ip->flags & ~IPT_F_MASK); 
    5757                return false; 
    58 @@ -163,6 +185,8 @@ ip_checkentry(const struct ipt_ip *ip) 
     58@@ -153,6 +175,8 @@ ip_checkentry(const struct ipt_ip *ip) 
    5959                         ip->invflags & ~IPT_INV_MASK); 
    6060                return false; 
     
    6565 } 
    6666  
    67 @@ -210,7 +234,6 @@ unconditional(const struct ipt_ip *ip) 
     67@@ -200,7 +224,6 @@ unconditional(const struct ipt_ip *ip) 
    6868                        return 0; 
    6969  
  • trunk/target/linux/generic-2.6/patches-2.6.30/130-netfilter_ipset.patch

    r15251 r15468  
    75357535--- a/net/ipv4/netfilter/Kconfig 
    75367536+++ b/net/ipv4/netfilter/Kconfig 
    7537 @@ -394,5 +394,122 @@ config IP_NF_ARP_MANGLE 
     7537@@ -388,5 +388,122 @@ config IP_NF_ARP_MANGLE 
    75387538  
    75397539 endif # IP_NF_ARPTABLES 
     
    76607660--- a/net/ipv4/netfilter/Makefile 
    76617661+++ b/net/ipv4/netfilter/Makefile 
    7662 @@ -52,6 +52,7 @@ obj-$(CONFIG_IP_NF_MATCH_ADDRTYPE) += ip 
     7662@@ -51,6 +51,7 @@ obj-$(CONFIG_IP_NF_SECURITY) += iptable_ 
     7663 obj-$(CONFIG_IP_NF_MATCH_ADDRTYPE) += ipt_addrtype.o 
    76637664 obj-$(CONFIG_IP_NF_MATCH_AH) += ipt_ah.o 
    76647665 obj-$(CONFIG_IP_NF_MATCH_ECN) += ipt_ecn.o 
    7665  obj-$(CONFIG_IP_NF_MATCH_TTL) += ipt_ttl.o 
    76667666+obj-$(CONFIG_IP_NF_MATCH_SET) += ipt_set.o 
    76677667  
    76687668 # targets 
    76697669 obj-$(CONFIG_IP_NF_TARGET_CLUSTERIP) += ipt_CLUSTERIP.o 
    7670 @@ -63,6 +64,18 @@ obj-$(CONFIG_IP_NF_TARGET_REDIRECT) += i 
     7670@@ -61,6 +62,18 @@ obj-$(CONFIG_IP_NF_TARGET_NETMAP) += ipt 
     7671 obj-$(CONFIG_IP_NF_TARGET_REDIRECT) += ipt_REDIRECT.o 
    76717672 obj-$(CONFIG_IP_NF_TARGET_REJECT) += ipt_REJECT.o 
    7672  obj-$(CONFIG_IP_NF_TARGET_TTL) += ipt_TTL.o 
    76737673 obj-$(CONFIG_IP_NF_TARGET_ULOG) += ipt_ULOG.o 
    76747674+obj-$(CONFIG_IP_NF_TARGET_SET) += ipt_SET.o 
  • trunk/target/linux/generic-2.6/patches-2.6.30/150-netfilter_imq.patch

    r15251 r15468  
    478478--- a/drivers/net/Kconfig 
    479479+++ b/drivers/net/Kconfig 
    480 @@ -110,6 +110,129 @@ config EQUALIZER 
     480@@ -119,6 +119,129 @@ config EQUALIZER 
    481481          To compile this driver as a module, choose M here: the module 
    482482          will be called eql.  If unsure, say N. 
     
    610610--- a/drivers/net/Makefile 
    611611+++ b/drivers/net/Makefile 
    612 @@ -150,6 +150,7 @@ obj-$(CONFIG_SLHC) += slhc.o 
     612@@ -151,6 +151,7 @@ obj-$(CONFIG_SLHC) += slhc.o 
    613613 obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o 
    614614  
     
    654654--- a/include/linux/skbuff.h 
    655655+++ b/include/linux/skbuff.h 
    656 @@ -312,6 +312,10 @@ struct sk_buff { 
     656@@ -363,6 +363,10 @@ struct sk_buff { 
    657657        struct nf_conntrack     *nfct; 
    658658        struct sk_buff          *nfct_reasm; 
     
    665665        struct nf_bridge_info   *nf_bridge; 
    666666 #endif 
    667 @@ -1844,6 +1848,10 @@ static inline void __nf_copy(struct sk_b 
     667@@ -1931,6 +1935,10 @@ static inline void __nf_copy(struct sk_b 
    668668        dst->nfct_reasm = src->nfct_reasm; 
    669669        nf_conntrack_get_reasm(src->nfct_reasm); 
     
    688688 #include <linux/seq_file.h> 
    689689 #include <linux/stat.h> 
    690 @@ -1671,7 +1674,11 @@ int dev_hard_start_xmit(struct sk_buff * 
     690@@ -1673,7 +1676,11 @@ int dev_hard_start_xmit(struct sk_buff * 
     691        int rc; 
    691692  
    692         prefetch(&dev->netdev_ops->ndo_start_xmit); 
    693693        if (likely(!skb->next)) { 
    694694-               if (!list_empty(&ptype_all)) 
     
    795795--- a/net/ipv4/netfilter/Makefile 
    796796+++ b/net/ipv4/netfilter/Makefile 
    797 @@ -58,6 +58,7 @@ obj-$(CONFIG_IP_NF_MATCH_SET) += ipt_set 
     797@@ -57,6 +57,7 @@ obj-$(CONFIG_IP_NF_MATCH_SET) += ipt_set 
    798798 obj-$(CONFIG_IP_NF_TARGET_CLUSTERIP) += ipt_CLUSTERIP.o 
    799799 obj-$(CONFIG_IP_NF_TARGET_ECN) += ipt_ECN.o 
     
    877877--- a/net/ipv6/netfilter/Kconfig 
    878878+++ b/net/ipv6/netfilter/Kconfig 
    879 @@ -170,6 +170,15 @@ config IP6_NF_MANGLE 
     879@@ -129,6 +129,15 @@ config IP6_NF_MATCH_RT 
    880880  
    881881          To compile it as a module, choose M here.  If unsure, say N. 
     
    890890+          To compile it as a module, choose M here.  If unsure, say N. 
    891891+ 
     892 # The targets 
    892893 config IP6_NF_TARGET_HL 
    893         tristate  'HL (hoplimit) target support' 
    894         depends on IP6_NF_MANGLE 
     894        tristate '"HL" hoplimit target support' 
    895895--- a/net/ipv6/netfilter/Makefile 
    896896+++ b/net/ipv6/netfilter/Makefile 
  • trunk/target/linux/generic-2.6/patches-2.6.30/180-netfilter_depends.patch

    r15251 r15468  
    99        help 
    1010          H.323 is a VoIP signalling protocol from ITU-T. As one of the most 
    11 @@ -454,7 +453,6 @@ config NETFILTER_XT_TARGET_SECMARK 
     11@@ -493,7 +492,6 @@ config NETFILTER_XT_TARGET_SECMARK 
    1212  
    1313 config NETFILTER_XT_TARGET_TCPMSS 
  • trunk/target/linux/generic-2.6/patches-2.6.30/205-skb_padding.patch

    r15251 r15468  
    11--- a/include/linux/skbuff.h 
    22+++ b/include/linux/skbuff.h 
    3 @@ -1292,9 +1292,12 @@ static inline int skb_network_offset(con 
     3@@ -1355,9 +1355,12 @@ static inline int skb_network_offset(con 
    44  * 
    5   * Various parts of the networking layer expect at least 16 bytes of 
     5  * Various parts of the networking layer expect at least 32 bytes of 
    66  * headroom, you should not reduce this. 
    77+ * 
     
    1010  */ 
    1111 #ifndef NET_SKB_PAD 
    12 -#define NET_SKB_PAD    16 
     12-#define NET_SKB_PAD    32 
    1313+#define NET_SKB_PAD    64 
    1414 #endif 
  • trunk/target/linux/generic-2.6/patches-2.6.30/208-rtl8110sb_fix.patch

    r15251 r15468  
    2828                .napi_event     = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow, 
    2929                .features       = RTL_FEATURE_MSI 
    30 @@ -3581,10 +3581,12 @@ static irqreturn_t rtl8169_interrupt(int 
     30@@ -3582,10 +3582,12 @@ static irqreturn_t rtl8169_interrupt(int 
    3131                goto out; 
    3232        } 
  • trunk/target/linux/generic-2.6/patches-2.6.30/209-mini_fo.patch

    r15251 r15468  
    11--- a/fs/Kconfig 
    22+++ b/fs/Kconfig 
    3 @@ -215,6 +215,7 @@ source "fs/ubifs/Kconfig" 
     3@@ -168,6 +168,7 @@ source "fs/ubifs/Kconfig" 
    44 source "fs/cramfs/Kconfig" 
    55 source "fs/squashfs/Kconfig" 
     
    1111--- a/fs/Makefile 
    1212+++ b/fs/Makefile 
    13 @@ -80,6 +80,7 @@ obj-$(CONFIG_SQUASHFS)                += squashfs/ 
     13@@ -77,6 +77,7 @@ obj-$(CONFIG_SQUASHFS)                += squashfs/ 
    1414 obj-y                          += ramfs/ 
    1515 obj-$(CONFIG_HUGETLBFS)                += hugetlbfs/ 
  • trunk/target/linux/generic-2.6/patches-2.6.30/219-kobject_uevent.patch

    r15251 r15468  
    3030  * kobject_action_type - translate action string to numeric type 
    3131  * 
    32 @@ -194,9 +207,7 @@ int kobject_uevent_env(struct kobject *k 
     32@@ -201,9 +214,7 @@ int kobject_uevent_env(struct kobject *k 
    3333                kobj->state_remove_uevent_sent = 1; 
    3434  
  • trunk/target/linux/generic-2.6/patches-2.6.30/240-packet_socket_type.patch

    r15399 r15468  
    100100        if (sock->type == SOCK_PACKET) 
    101101                po->prot_hook.func = packet_rcv_spkt; 
    102 @@ -1411,6 +1415,16 @@ packet_setsockopt(struct socket *sock, i 
     102@@ -1412,6 +1416,16 @@ packet_setsockopt(struct socket *sock, i 
    103103                        ret = packet_mc_drop(sk, &mreq); 
    104104                return ret; 
     
    117117 #ifdef CONFIG_PACKET_MMAP 
    118118        case PACKET_RX_RING: 
    119 @@ -1542,6 +1556,13 @@ static int packet_getsockopt(struct sock 
     119@@ -1543,6 +1557,13 @@ static int packet_getsockopt(struct sock 
    120120  
    121121                data = &val; 
  • trunk/target/linux/generic-2.6/patches-2.6.30/400-ledtrig_morse.patch

    r15251 r15468  
    11--- a/drivers/leds/Kconfig 
    22+++ b/drivers/leds/Kconfig 
    3 @@ -223,4 +223,8 @@ config LEDS_TRIGGER_DEFAULT_ON 
    4           This allows LEDs to be initialised in the ON state. 
    5           If unsure, say Y. 
     3@@ -295,4 +295,8 @@ config LEDS_TRIGGER_DEFAULT_ON 
     4 comment "iptables trigger is under Netfilter config (LED target)" 
     5        depends on LEDS_TRIGGERS 
    66  
    77+config LEDS_TRIGGER_MORSE 
     
    1212--- a/drivers/leds/Makefile 
    1313+++ b/drivers/leds/Makefile 
    14 @@ -31,3 +31,4 @@ obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK)   += l 
    15  obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT)   += ledtrig-heartbeat.o 
     14@@ -38,3 +38,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT)  +=  
    1615 obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT)   += ledtrig-backlight.o 
     16 obj-$(CONFIG_LEDS_TRIGGER_GPIO)                += ledtrig-gpio.o 
    1717 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o 
    1818+obj-$(CONFIG_LEDS_TRIGGER_MORSE)       += ledtrig-morse.o 
  • trunk/target/linux/generic-2.6/patches-2.6.30/402-ledtrig_netdev.patch

    r15251 r15468  
    11--- a/drivers/leds/Kconfig 
    22+++ b/drivers/leds/Kconfig 
    3 @@ -227,4 +227,11 @@ config LEDS_TRIGGER_MORSE 
     3@@ -299,4 +299,11 @@ config LEDS_TRIGGER_MORSE 
    44        tristate "LED Morse Trigger" 
    55        depends on LEDS_TRIGGERS 
     
    1515--- a/drivers/leds/Makefile 
    1616+++ b/drivers/leds/Makefile 
    17 @@ -32,3 +32,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT)  +=  
    18  obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT)   += ledtrig-backlight.o 
     17@@ -39,3 +39,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT)  +=  
     18 obj-$(CONFIG_LEDS_TRIGGER_GPIO)                += ledtrig-gpio.o 
    1919 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o 
    2020 obj-$(CONFIG_LEDS_TRIGGER_MORSE)       += ledtrig-morse.o 
  • trunk/target/linux/generic-2.6/patches-2.6.30/510-yaffs_support.patch

    r15251 r15468  
    11--- a/fs/Kconfig 
    22+++ b/fs/Kconfig 
    3 @@ -223,6 +223,7 @@ source "fs/qnx4/Kconfig" 
    4  source "fs/romfs/Kconfig" 
     3@@ -177,6 +177,7 @@ source "fs/romfs/Kconfig" 
    54 source "fs/sysv/Kconfig" 
    65 source "fs/ufs/Kconfig" 
     6 source "fs/exofs/Kconfig" 
    77+source "fs/yaffs2/Kconfig" 
    88  
    9  endif # MISC_FILESYSTEMS 
    10   
     9 config NILFS2_FS 
     10        tristate "NILFS2 file system support (EXPERIMENTAL)" 
    1111--- a/fs/Makefile 
    1212+++ b/fs/Makefile 
    13 @@ -125,3 +125,4 @@ obj-$(CONFIG_DEBUG_FS)              += debugfs/ 
    14  obj-$(CONFIG_OCFS2_FS)         += ocfs2/ 
     13@@ -125,3 +125,4 @@ obj-$(CONFIG_OCFS2_FS)              += ocfs2/ 
    1514 obj-$(CONFIG_BTRFS_FS)         += btrfs/ 
    1615 obj-$(CONFIG_GFS2_FS)           += gfs2/ 
     16 obj-$(CONFIG_EXOFS_FS)          += exofs/ 
    1717+obj-$(CONFIG_YAFFS_FS)         += yaffs2/ 
  • trunk/target/linux/generic-2.6/patches-2.6.30/600-phy_extension.patch

    r15251 r15468  
    6363                                && phydev->drv->config_init) { 
    6464                        phy_scan_fixups(phydev); 
    65 @@ -476,7 +520,7 @@ static void phy_force_reduction(struct p 
     65@@ -471,7 +515,7 @@ static void phy_force_reduction(struct p 
    6666        int idx; 
    6767  
     
    7474--- a/include/linux/phy.h 
    7575+++ b/include/linux/phy.h 
    76 @@ -478,6 +478,7 @@ void phy_start_machine(struct phy_device 
     76@@ -477,6 +477,7 @@ void phy_start_machine(struct phy_device 
    7777 void phy_stop_machine(struct phy_device *phydev); 
    7878 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd); 
  • trunk/target/linux/generic-2.6/patches-2.6.30/630-phy_packets.patch

    r15251 r15468  
    3131--- a/include/linux/phy.h 
    3232+++ b/include/linux/phy.h 
    33 @@ -326,6 +326,20 @@ struct phy_device { 
     33@@ -325,6 +325,20 @@ struct phy_device { 
    3434        void (*adjust_link)(struct net_device *dev); 
    3535  
     
    5454--- a/include/linux/netdevice.h 
    5555+++ b/include/linux/netdevice.h 
    56 @@ -747,6 +747,7 @@ struct net_device 
     56@@ -770,6 +770,7 @@ struct net_device 
    5757        void                    *ax25_ptr;      /* AX.25 specific data */ 
    5858        struct wireless_dev     *ieee80211_ptr; /* IEEE 802.11 specific data, 
  • trunk/target/linux/generic-2.6/patches-2.6.30/700-rtc7301.patch

    r15251 r15468  
    11--- a/drivers/rtc/Kconfig 
    22+++ b/drivers/rtc/Kconfig 
    3 @@ -515,6 +515,15 @@ config RTC_DRV_PCF50633 
     3@@ -526,6 +526,15 @@ config RTC_DRV_PCF50633 
    44          If you say yes here you get support for the RTC subsystem of the 
    55          NXP PCF50633 used in embedded systems. 
  • trunk/target/linux/generic-2.6/patches-2.6.30/801-usb_serial_endpoint_size.patch

    r15251 r15468  
    11--- a/drivers/usb/serial/usb-serial.c 
    22+++ b/drivers/usb/serial/usb-serial.c 
    3 @@ -59,6 +59,7 @@ static struct usb_driver usb_serial_driv 
     3@@ -60,6 +60,7 @@ static struct usb_driver usb_serial_driv 
    44    drivers depend on it. 
    55 */ 
     
    99 /* initially all NULL */ 
    1010 static struct usb_serial *serial_table[SERIAL_TTY_MINORS]; 
    11 @@ -840,7 +841,7 @@ int usb_serial_probe(struct usb_interfac 
     11@@ -841,7 +842,7 @@ int usb_serial_probe(struct usb_interfac 
    1212                        dev_err(&interface->dev, "No free urbs available\n"); 
    1313                        goto probe_error; 
     
    1818                port->bulk_in_endpointAddress = endpoint->bEndpointAddress; 
    1919                port->bulk_in_buffer = kmalloc(buffer_size, GFP_KERNEL); 
    20 @@ -1269,3 +1270,5 @@ MODULE_LICENSE("GPL"); 
     20@@ -1279,3 +1280,5 @@ MODULE_LICENSE("GPL"); 
    2121  
    2222 module_param(debug, bool, S_IRUGO | S_IWUSR); 
  • trunk/target/linux/generic-2.6/patches-2.6.30/840-unable_to_open_console.patch

    r15251 r15468  
    11--- a/init/main.c 
    22+++ b/init/main.c 
    3 @@ -797,7 +797,7 @@ static noinline int init_post(void) 
     3@@ -807,7 +807,7 @@ static noinline int init_post(void) 
    44        numa_default_policy(); 
    55  
  • trunk/target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch

    r15251 r15468  
    11--- a/drivers/net/wireless/hostap/hostap_ap.c 
    22+++ b/drivers/net/wireless/hostap/hostap_ap.c 
    3 @@ -2346,13 +2346,13 @@ int prism2_ap_get_sta_qual(local_info_t  
     3@@ -2335,13 +2335,13 @@ int prism2_ap_get_sta_qual(local_info_t  
    44                addr[count].sa_family = ARPHRD_ETHER; 
    55                memcpy(addr[count].sa_data, sta->addr, ETH_ALEN); 
     
    2121  
    2222                sta->last_rx_updated = IW_QUAL_DBM; 
    23 @@ -2418,13 +2418,13 @@ int prism2_ap_translate_scan(struct net_ 
     23@@ -2407,13 +2407,13 @@ int prism2_ap_translate_scan(struct net_ 
    2424                memset(&iwe, 0, sizeof(iwe)); 
    2525                iwe.cmd = IWEVQUAL; 
     
    6565--- a/drivers/net/wireless/hostap/hostap_hw.c 
    6666+++ b/drivers/net/wireless/hostap/hostap_hw.c 
    67 @@ -933,6 +933,7 @@ static int hfa384x_set_rid(struct net_de 
     67@@ -932,6 +932,7 @@ static int hfa384x_set_rid(struct net_de 
    6868                        prism2_hw_reset(dev); 
    6969        } 
     
    7575--- a/drivers/net/wireless/hostap/hostap_info.c 
    7676+++ b/drivers/net/wireless/hostap/hostap_info.c 
    77 @@ -430,6 +430,11 @@ static void handle_info_queue_linkstatus 
     77@@ -431,6 +431,11 @@ static void handle_info_queue_linkstatus 
    7878        } 
    7979  
     
    8989--- a/drivers/net/wireless/hostap/hostap_ioctl.c 
    9090+++ b/drivers/net/wireless/hostap/hostap_ioctl.c 
    91 @@ -1474,23 +1474,20 @@ static int prism2_txpower_hfa386x_to_dBm 
     91@@ -1475,23 +1475,20 @@ static int prism2_txpower_hfa386x_to_dBm 
    9292                val = 255; 
    9393  
     
    117117        return (unsigned char) tmp; 
    118118 } 
    119 @@ -4054,3 +4051,35 @@ int hostap_ioctl(struct net_device *dev, 
     119@@ -4055,3 +4052,35 @@ int hostap_ioctl(struct net_device *dev, 
    120120  
    121121        return ret; 
  • trunk/target/linux/generic-2.6/patches-2.6.30/920-01-hotpluggable-spi-gpio.patch

    r15251 r15468  
    77--- a/drivers/spi/spi_gpio.c 
    88+++ b/drivers/spi/spi_gpio.c 
    9 @@ -213,7 +213,7 @@ static void spi_gpio_cleanup(struct spi_ 
     9@@ -218,7 +218,7 @@ static void spi_gpio_cleanup(struct spi_ 
    1010        spi_bitbang_cleanup(spi); 
    1111 } 
     
    1616        int value; 
    1717  
    18 @@ -227,7 +227,7 @@ static int __init spi_gpio_alloc(unsigne 
     18@@ -232,7 +232,7 @@ static int __init spi_gpio_alloc(unsigne 
    1919        return value; 
    2020 } 
     
    2525 { 
    2626        int value; 
    27 @@ -256,7 +256,7 @@ done: 
     27@@ -261,7 +261,7 @@ done: 
    2828        return value; 
    2929 } 
     
    3434        int                             status; 
    3535        struct spi_master               *master; 
    36 @@ -312,7 +312,7 @@ gpio_free: 
     36@@ -317,7 +317,7 @@ gpio_free: 
    3737        return status; 
    3838 } 
     
    4343        struct spi_gpio                 *spi_gpio; 
    4444        struct spi_gpio_platform_data   *pdata; 
    45 @@ -339,12 +339,13 @@ MODULE_ALIAS("platform:" DRIVER_NAME); 
     45@@ -344,12 +344,13 @@ MODULE_ALIAS("platform:" DRIVER_NAME); 
    4646 static struct platform_driver spi_gpio_driver = { 
    4747        .driver.name    = DRIVER_NAME, 
  • trunk/target/linux/generic-2.6/patches-2.6.30/922-gpiommc.patch

    r15251 r15468  
    612612--- a/drivers/mmc/host/Kconfig 
    613613+++ b/drivers/mmc/host/Kconfig 
    614 @@ -212,3 +212,28 @@ config MMC_TMIO 
     614@@ -241,3 +241,28 @@ config MMC_TMIO 
    615615        help 
    616616          This provides support for the SD/MMC cell found in TC6393XB, 
     
    643643--- a/drivers/mmc/host/Makefile 
    644644+++ b/drivers/mmc/host/Makefile 
    645 @@ -27,4 +27,5 @@ endif 
     645@@ -29,4 +29,5 @@ endif 
    646646 obj-$(CONFIG_MMC_S3C)          += s3cmci.o 
    647647 obj-$(CONFIG_MMC_SDRICOH_CS)   += sdricoh_cs.o 
     
    825825--- a/MAINTAINERS 
    826826+++ b/MAINTAINERS 
    827 @@ -1952,6 +1952,11 @@ L:       linux-media@vger.kernel.org 
     827@@ -1997,6 +1997,11 @@ L:       linux-media@vger.kernel.org 
    828828 T:     git kernel.org:/pub/scm/linux/kernel/git/mchehab/linux-2.6.git 
    829829 S:     Maintained 
  • trunk/target/linux/generic-2.6/patches-2.6.30/970-ocf_kbuild_integration.patch

    r15251 r15468  
    11--- a/crypto/Kconfig 
    22+++ b/crypto/Kconfig 
    3 @@ -734,6 +734,8 @@ config CRYPTO_ANSI_CPRNG 
     3@@ -778,6 +778,8 @@ config CRYPTO_ANSI_CPRNG 
    44          for cryptographic modules.  Uses the Algorithm specified in 
    55          ANSI X9.31 A.2.4 
     
    1212--- a/crypto/Makefile 
    1313+++ b/crypto/Makefile 
    14 @@ -80,6 +80,11 @@ obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_ 
     14@@ -85,6 +85,11 @@ obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_ 
    1515 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o 
    1616  
  • trunk/target/linux/generic-2.6/patches-2.6.30/971-ocf_20080917.patch

    r15251 r15468  
    2525  * particular randomness source.  They do this by keeping track of the 
    2626  * first and second order deltas of the event timings. 
    27 @@ -708,6 +718,61 @@ void add_disk_randomness(struct gendisk  
     27@@ -712,6 +722,61 @@ void add_disk_randomness(struct gendisk  
    2828 } 
    2929 #endif 
     
    9595+EXPORT_SYMBOL(sys_dup); 
    9696  
    97  #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | FASYNC | O_DIRECT | O_NOATIME) 
     97 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME) 
    9898  
    9999--- a/include/linux/miscdevice.h 
  • trunk/target/linux/generic-2.6/patches-2.6.30/977-textsearch_kconfig_hacks.patch

    r15251 r15468  
    11--- a/lib/Kconfig 
    22+++ b/lib/Kconfig 
    3 @@ -125,16 +125,16 @@ config REED_SOLOMON_DEC16 
     3@@ -142,16 +142,16 @@ config REED_SOLOMON_DEC16 
    44 # Textsearch support is select'ed if needed 
    55 # 
     
    2020+       tristate "Textsearch FSM" 
    2121  
    22  # 
    23  # plist support is select#ed if needed 
     22 config HAS_IOMEM 
     23        boolean 
  • trunk/target/linux/generic-2.6/patches-2.6.30/979-crypto_add_kconfig_prompts.patch

    r15251 r15468  
    2828        select CRYPTO_ALGAPI 
    2929  
    30 @@ -58,7 +58,7 @@ config CRYPTO_BLKCIPHER2 
    31         select CRYPTO_RNG2 
     30@@ -59,7 +59,7 @@ config CRYPTO_BLKCIPHER2 
     31        select CRYPTO_WORKQUEUE 
    3232  
    3333 config CRYPTO_HASH 
     
    3737        select CRYPTO_ALGAPI 
    3838  
    39 @@ -67,7 +67,7 @@ config CRYPTO_HASH2 
     39@@ -68,7 +68,7 @@ config CRYPTO_HASH2 
    4040        select CRYPTO_ALGAPI2 
    4141  
  • trunk/target/linux/generic-2.6/patches-2.6.30/980-vm_exports.patch

    r15251 r15468  
    11--- a/mm/shmem.c 
    22+++ b/mm/shmem.c 
    3 @@ -2587,6 +2587,15 @@ int shmem_unuse(swp_entry_t entry, struc 
     3@@ -2587,6 +2587,16 @@ int shmem_unuse(swp_entry_t entry, struc 
    44  
    55 /* common code */ 
     
    77+void shmem_set_file(struct vm_area_struct *vma, struct file *file) 
    88+{ 
     9+       ima_shm_check(file); 
    910+       if (vma->vm_file) 
    1011+               fput(vma->vm_file); 
     
    1718  * shmem_file_setup - get an unlinked file living in tmpfs 
    1819  * @name: name for dentry (to be seen in /proc/<pid>/maps 
    19 @@ -2665,10 +2674,7 @@ int shmem_zero_setup(struct vm_area_stru 
     20@@ -2665,11 +2675,7 @@ int shmem_zero_setup(struct vm_area_stru 
    2021        if (IS_ERR(file)) 
    2122                return PTR_ERR(file); 
    2223  
     24-       ima_shm_check(file); 
    2325-       if (vma->vm_file) 
    2426-               fput(vma->vm_file); 
     
    4143--- a/kernel/exit.c 
    4244+++ b/kernel/exit.c 
    43 @@ -521,6 +521,7 @@ struct files_struct *get_files_struct(st 
     45@@ -508,6 +508,7 @@ struct files_struct *get_files_struct(st 
    4446  
    4547        return files; 
     
    4951 void put_files_struct(struct files_struct *files) 
    5052 { 
    51 @@ -540,6 +541,7 @@ void put_files_struct(struct files_struc 
     53@@ -527,6 +528,7 @@ void put_files_struct(struct files_struc 
    5254                free_fdtable(fdt); 
    5355        } 
     
    5961--- a/kernel/fork.c 
    6062+++ b/kernel/fork.c 
    61 @@ -158,6 +158,7 @@ void __put_task_struct(struct task_struc 
     63@@ -160,6 +160,7 @@ void __put_task_struct(struct task_struc 
    6264        if (!profile_handoff_task(tsk)) 
    6365                free_task(tsk); 
     
    6971--- a/kernel/sched.c 
    7072+++ b/kernel/sched.c 
    71 @@ -5121,6 +5121,7 @@ int can_nice(const struct task_struct *p 
     73@@ -5600,6 +5600,7 @@ int can_nice(const struct task_struct *p 
    7274        return (nice_rlim <= p->signal->rlim[RLIMIT_NICE].rlim_cur || 
    7375                capable(CAP_SYS_NICE)); 
     
    8789 /** 
    8890  * zap_vma_ptes - remove ptes mapping the vma 
    89 @@ -2387,6 +2388,7 @@ int vmtruncate_range(struct inode *inode 
     91@@ -2405,6 +2406,7 @@ int vmtruncate_range(struct inode *inode 
    9092  
    9193        return 0; 
     
    9799--- a/mm/vmalloc.c 
    98100+++ b/mm/vmalloc.c 
    99 @@ -1025,6 +1025,7 @@ void unmap_kernel_range(unsigned long ad 
     101@@ -1100,6 +1100,7 @@ void unmap_kernel_range(unsigned long ad 
    100102        vunmap_page_range(addr, end); 
    101103        flush_tlb_kernel_range(addr, end); 
     
    105107 int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) 
    106108 { 
    107 @@ -1138,6 +1139,7 @@ struct vm_struct *get_vm_area(unsigned l 
     109@@ -1213,6 +1214,7 @@ struct vm_struct *get_vm_area(unsigned l 
    108110        return __get_vm_area_node(size, flags, VMALLOC_START, VMALLOC_END, 
    109111                                -1, GFP_KERNEL, __builtin_return_address(0)); 
  • trunk/target/linux/ixp4xx/config-2.6.30

    r15453 r15468  
    2929# CONFIG_ARCH_LH7A40X is not set 
    3030# CONFIG_ARCH_LOKI is not set 
     31# CONFIG_ARCH_MMP is not set 
    3132# CONFIG_ARCH_MSM is not set 
    3233# CONFIG_ARCH_MV78XX0 is not set 
  • trunk/target/linux/ixp4xx/patches-2.6.30/190-cambria_support.patch

    r15252 r15468  
    409409+} 
    410410+ 
    411 +static struct at24_iface *at24_if; 
    412 + 
    413 +static int at24_setup(struct at24_iface *iface, void *context) 
     411+static struct memory_accessor *at24_mem_acc; 
     412+ 
     413+static int at24_setup(struct memory_accessor *mem_acc, void *context) 
    414414+{ 
    415415+       char mac_addr[ETH_ALEN]; 
    416416+       char model[6]; 
    417417+ 
    418 +       at24_if = iface; 
     418+       at24_mem_acc = mem_acc; 
    419419+ 
    420420+       /* Read MAC addresses */ 
    421 +       if (at24_if->read(at24_if, mac_addr, 0x0, 6) == 6) { 
     421+       if (at24_mem_acc->read(at24_mem_acc, mac_addr, 0x0, 6) == 6) { 
    422422+               memcpy(&cambria_npec_data.hwaddr, mac_addr, ETH_ALEN); 
    423423+       } 
    424 +       if (at24_if->read(at24_if, mac_addr, 0x6, 6) == 6) { 
     424+       if (at24_mem_acc->read(at24_mem_acc, mac_addr, 0x6, 6) == 6) { 
    425425+               memcpy(&cambria_npea_data.hwaddr, mac_addr, ETH_ALEN); 
    426426+       } 
    427427+ 
    428428+       /* Read the first 6 bytes of the model number */ 
    429 +       if (at24_if->read(at24_if, model, 0x20, 6) == 6) { 
     429+       if (at24_mem_acc->read(at24_mem_acc, model, 0x20, 6) == 6) { 
    430430+               cambria_info = cambria_find_board_info(model); 
    431431+       } 
  • trunk/target/linux/ixp4xx/patches-2.6.30/300-avila_fetch_mac.patch

    r15252 r15468  
    158158+} 
    159159+ 
    160 +static struct at24_iface *at24_if; 
    161 + 
    162 +static int at24_setup(struct at24_iface *iface, void *context) 
     160+static struct memory_accessor *at24_mem_acc; 
     161+ 
     162+static int at24_setup(struct memory_accessor *mem_acc, void *context) 
    163163+{ 
    164164+       char mac_addr[ETH_ALEN]; 
    165165+       char model[6]; 
    166166+ 
    167 +       at24_if = iface; 
     167+       at24_mem_acc = mem_acc; 
    168168+ 
    169169+       /* Read MAC addresses */ 
    170 +       if (at24_if->read(at24_if, mac_addr, 0x0, 6) == 6) { 
     170+       if (at24_mem_acc->read(at24_mem_acc, mac_addr, 0x0, 6) == 6) { 
    171171+               memcpy(&avila_npeb_data.hwaddr, mac_addr, ETH_ALEN); 
    172172+       } 
    173 +       if (at24_if->read(at24_if, mac_addr, 0x6, 6) == 6) { 
     173+       if (at24_mem_acc->read(at24_mem_acc, mac_addr, 0x6, 6) == 6) { 
    174174+               memcpy(&avila_npec_data.hwaddr, mac_addr, ETH_ALEN); 
    175175+       } 
    176176+ 
    177177+       /* Read the first 6 bytes of the model number */ 
    178 +       if (at24_if->read(at24_if, model, 0x20, 6) == 6) { 
     178+       if (at24_mem_acc->read(at24_mem_acc, model, 0x20, 6) == 6) { 
    179179+               avila_info = avila_find_board_info(model); 
    180180+       } 
Note: See TracChangeset for help on using the changeset viewer.