]> Git Repo - J-linux.git/commitdiff
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
authorDavid S. Miller <[email protected]>
Wed, 19 May 2010 06:01:55 +0000 (23:01 -0700)
committerDavid S. Miller <[email protected]>
Wed, 19 May 2010 06:01:55 +0000 (23:01 -0700)
Conflicts:
include/linux/mod_devicetable.h
scripts/mod/file2alias.c

1  2 
MAINTAINERS
drivers/net/a2065.c
drivers/net/ariadne.c
drivers/net/zorro8390.c
include/linux/kernel.h
include/linux/mod_devicetable.h
scripts/mod/file2alias.c

diff --combined MAINTAINERS
index 9372c742c3bc08487e72ca23015f4eeb9b0accf0,3d2651bffaddb0ff1c5111e7ea04f5933d726d1f..b375bf9f4e2c99be476b927a8a012208afca7d79
@@@ -1501,10 -1501,9 +1501,10 @@@ M:    Andy Whitcroft <[email protected]
  S:    Supported
  F:    scripts/checkpatch.pl
  
 -CISCO 10G ETHERNET DRIVER
 +CISCO VIC ETHERNET NIC DRIVER
  M:    Scott Feldman <[email protected]>
 -M:    Joe Eykholt <[email protected]>
 +M:    Vasanthy Kolluri <[email protected]>
 +M:    Roopa Prabhu <[email protected]>
  S:    Supported
  F:    drivers/net/enic/
  
@@@ -2954,6 -2953,17 +2954,17 @@@ S:    Odd Fixe
  F:    Documentation/networking/README.ipw2200
  F:    drivers/net/wireless/ipw2x00/ipw2200.*
  
+ INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT)
+ M:    Joseph Cihula <[email protected]>
+ M:    Shane Wang <[email protected]>
+ L:    [email protected]
+ W:    http://tboot.sourceforge.net
+ T:    Mercurial http://www.bughost.org/repos.hg/tboot.hg
+ S:    Supported
+ F:    Documentation/intel_txt.txt
+ F:    include/linux/tboot.h
+ F:    arch/x86/kernel/tboot.c
  INTEL WIRELESS WIMAX CONNECTION 2400
  M:    Inaky Perez-Gonzalez <[email protected]>
  M:    [email protected]
@@@ -3003,9 -3013,10 +3014,9 @@@ F:     net/ipv4/netfilter/ipt_MASQUERADE.
  IP1000A 10/100/1000 GIGABIT ETHERNET DRIVER
  M:    Francois Romieu <[email protected]>
  M:    Sorbica Shieh <[email protected]>
 -M:    Jesse Huang <[email protected]>
  L:    [email protected]
  S:    Maintained
 -F:    drivers/net/ipg.c
 +F:    drivers/net/ipg.*
  
  IPATH DRIVER
  M:    Ralph Campbell <[email protected]>
@@@ -3852,6 -3863,7 +3863,6 @@@ M:      Ramkrishna Vepa <[email protected]
  M:    Rastapur Santosh <[email protected]>
  M:    Sivakumar Subramani <[email protected]>
  M:    Sreenivasa Honnur <[email protected]>
 -M:    Anil Murthy <[email protected]>
  L:    [email protected]
  W:    http://trac.neterion.com/cgi-bin/trac.cgi/wiki/Linux?Anonymous
  W:    http://trac.neterion.com/cgi-bin/trac.cgi/wiki/X3100Linux?Anonymous
@@@ -3956,7 -3968,6 +3967,7 @@@ F:      net/rfkill
  F:    net/wireless/
  F:    include/net/ieee80211*
  F:    include/linux/wireless.h
 +F:    include/linux/iw_handler.h
  F:    drivers/net/wireless/
  
  NETWORKING DRIVERS
@@@ -4165,6 -4176,7 +4176,7 @@@ OPROFIL
  M:    Robert Richter <[email protected]>
  L:    [email protected]
  S:    Maintained
+ F:    arch/*/include/asm/oprofile*.h
  F:    arch/*/oprofile/
  F:    drivers/oprofile/
  F:    include/linux/oprofile.h
@@@ -4353,13 -4365,13 +4365,13 @@@ M:   Paul Mackerras <[email protected]
  M:    Ingo Molnar <[email protected]>
  M:    Arnaldo Carvalho de Melo <[email protected]>
  S:    Supported
- F:    kernel/perf_event.c
+ F:    kernel/perf_event*.c
  F:    include/linux/perf_event.h
- F:    arch/*/kernel/perf_event.c
- F:    arch/*/kernel/*/perf_event.c
- F:    arch/*/kernel/*/*/perf_event.c
+ F:    arch/*/kernel/perf_event*.c
+ F:    arch/*/kernel/*/perf_event*.c
+ F:    arch/*/kernel/*/*/perf_event*.c
  F:    arch/*/include/asm/perf_event.h
- F:    arch/*/lib/perf_event.c
+ F:    arch/*/lib/perf_event*.c
  F:    arch/*/kernel/perf_callchain.c
  F:    tools/perf/
  
@@@ -4587,7 -4599,6 +4599,7 @@@ F:      drivers/net/qla3xxx.
  
  QLOGIC QLCNIC (1/10)Gb ETHERNET DRIVER
  M:    Amit Kumar Salecha <[email protected]>
 +M:    Anirban Chakraborty <[email protected]>
  M:    [email protected]
  L:    [email protected]
  S:    Supported
@@@ -5493,7 -5504,7 +5505,7 @@@ S:      Maintaine
  F:    drivers/mmc/host/tmio_mmc.*
  
  TMPFS (SHMEM FILESYSTEM)
- M:    Hugh Dickins <hugh[email protected]>
+ M:    Hugh Dickins <hugh[email protected]>
  L:    [email protected]
  S:    Maintained
  F:    include/linux/shmem_fs.h
diff --combined drivers/net/a2065.c
index 541f9a20f5194ff92bd1feef8c359364430467be,a8f0512bad38a0035d92f934670f2765a47a5537..f142cc21e453dfddceabee7bd669171977622ed2
@@@ -525,7 -525,7 +525,7 @@@ static inline int lance_reset (struct n
        load_csrs (lp);
  
        lance_init_ring (dev);
 -      dev->trans_start = jiffies;
 +      dev->trans_start = jiffies; /* prevent tx timeout */
        netif_start_queue(dev);
  
        status = init_restart_lance (lp);
@@@ -588,6 -588,7 +588,6 @@@ static netdev_tx_t lance_start_xmit (st
  
        /* Kick the lance: transmit now */
        ll->rdp = LE_C0_INEA | LE_C0_TDMD;
 -      dev->trans_start = jiffies;
        dev_kfree_skb (skb);
  
        local_irq_restore(flags);
@@@ -601,7 -602,7 +601,7 @@@ static void lance_load_multicast (struc
        struct lance_private *lp = netdev_priv(dev);
        volatile struct lance_init_block *ib = lp->init_block;
        volatile u16 *mcast_table = (u16 *)&ib->filter;
 -      struct dev_mc_list *dmi;
 +      struct netdev_hw_addr *ha;
        char *addrs;
        u32 crc;
  
        ib->filter [1] = 0;
  
        /* Add addresses */
 -      netdev_for_each_mc_addr(dmi, dev) {
 -              addrs = dmi->dmi_addr;
 +      netdev_for_each_mc_addr(ha, dev) {
 +              addrs = ha->addr;
  
                /* multicast address? */
                if (!(*addrs & 1))
                crc = crc >> 26;
                mcast_table [crc >> 4] |= 1 << (crc & 0xf);
        }
 -      return;
  }
  
  static void lance_set_multicast (struct net_device *dev)
@@@ -672,6 -674,7 +672,7 @@@ static struct zorro_device_id a2065_zor
        { ZORRO_PROD_AMERISTAR_A2065 },
        { 0 }
  };
+ MODULE_DEVICE_TABLE(zorro, a2065_zorro_tbl);
  
  static struct zorro_driver a2065_driver = {
        .name           = "a2065",
diff --combined drivers/net/ariadne.c
index 705373a5308d9a6c0f540545e56715b95cff432b,4b30a46486e2561333c58b1280b324abd286ad70..39214e51245225056c1cedf9c3404f6cdd51dc2f
@@@ -145,6 -145,7 +145,7 @@@ static struct zorro_device_id ariadne_z
      { ZORRO_PROD_VILLAGE_TRONIC_ARIADNE },
      { 0 }
  };
+ MODULE_DEVICE_TABLE(zorro, ariadne_zorro_tbl);
  
  static struct zorro_driver ariadne_driver = {
      .name     = "ariadne",
@@@ -676,6 -677,8 +677,6 @@@ static netdev_tx_t ariadne_start_xmit(s
      lance->RAP = CSR0;                /* PCnet-ISA Controller Status */
      lance->RDP = INEA|TDMD;
  
 -    dev->trans_start = jiffies;
 -
      if (lowb(priv->tx_ring[(entry+1) % TX_RING_SIZE]->TMD1) != 0) {
        netif_stop_queue(dev);
        priv->tx_full = 1;
diff --combined drivers/net/zorro8390.c
index 4f7b9d6a087b3f4538abd858bfae274536ecddc3,9548cbb5012a69305b799d6fc68664f072fc3bd5..b78a38d9172a52d8517faba9df5cb914d5215e1c
@@@ -102,6 -102,7 +102,7 @@@ static struct zorro_device_id zorro8390
      { ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, },
      { 0 }
  };
+ MODULE_DEVICE_TABLE(zorro, zorro8390_zorro_tbl);
  
  static struct zorro_driver zorro8390_driver = {
      .name     = "zorro8390",
@@@ -430,6 -431,7 +431,6 @@@ static void zorro8390_block_output(stru
  
      z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR);       /* Ack intr. */
      ei_status.dmaing &= ~0x01;
 -    return;
  }
  
  static void __devexit zorro8390_remove_one(struct zorro_dev *z)
diff --combined include/linux/kernel.h
index a38d6bd6fde649aec168cc1f8e51c62f37ec9f75,9fb1c1299032ca8a051d969b8ab2bde46ea707b1..fc33af9118520e6a04376fbe96b9d7a85d9e478d
@@@ -4,8 -4,6 +4,8 @@@
  /*
   * 'kernel.h' contains some often-used function prototypes etc
   */
 +#define __ALIGN_KERNEL(x, a)          __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
 +#define __ALIGN_KERNEL_MASK(x, mask)  (((x) + (mask)) & ~(mask))
  
  #ifdef __KERNEL__
  
@@@ -39,8 -37,8 +39,8 @@@ extern const char linux_proc_banner[]
  
  #define STACK_MAGIC   0xdeadbeef
  
 -#define ALIGN(x,a)            __ALIGN_MASK(x,(typeof(x))(a)-1)
 -#define __ALIGN_MASK(x,mask)  (((x)+(mask))&~(mask))
 +#define ALIGN(x, a)           __ALIGN_KERNEL((x), (a))
 +#define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask))
  #define PTR_ALIGN(p, a)               ((typeof(p))ALIGN((unsigned long)(p), (a)))
  #define IS_ALIGNED(x, a)              (((x) & ((typeof(x))(a) - 1)) == 0)
  
@@@ -492,6 -490,13 +492,13 @@@ static inline void tracing_off(void) { 
  static inline void tracing_off_permanent(void) { }
  static inline int tracing_is_on(void) { return 0; }
  #endif
+ enum ftrace_dump_mode {
+       DUMP_NONE,
+       DUMP_ALL,
+       DUMP_ORIG,
+ };
  #ifdef CONFIG_TRACING
  extern void tracing_start(void);
  extern void tracing_stop(void);
@@@ -573,7 -578,7 +580,7 @@@ __ftrace_vbprintk(unsigned long ip, con
  extern int
  __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap);
  
- extern void ftrace_dump(void);
+ extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode);
  #else
  static inline void
  ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { }
@@@ -594,7 -599,7 +601,7 @@@ ftrace_vprintk(const char *fmt, va_lis
  {
        return 0;
  }
- static inline void ftrace_dump(void) { }
+ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { }
  #endif /* CONFIG_TRACING */
  
  /*
index 55f1f9c9506cef061839f6302d1684e95d00b2ec,56fde4364e4c062b8ce47f31155dfdc8db087177..007fbaafead0843aa3f125e805549926be249b01
@@@ -474,30 -474,13 +474,39 @@@ struct platform_device_id 
                        __attribute__((aligned(sizeof(kernel_ulong_t))));
  };
  
 +#define MDIO_MODULE_PREFIX    "mdio:"
 +
 +#define MDIO_ID_FMT "%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d"
 +#define MDIO_ID_ARGS(_id) \
 +      (_id)>>31, ((_id)>>30) & 1, ((_id)>>29) & 1, ((_id)>>28) & 1,   \
 +      ((_id)>>27) & 1, ((_id)>>26) & 1, ((_id)>>25) & 1, ((_id)>>24) & 1, \
 +      ((_id)>>23) & 1, ((_id)>>22) & 1, ((_id)>>21) & 1, ((_id)>>20) & 1, \
 +      ((_id)>>19) & 1, ((_id)>>18) & 1, ((_id)>>17) & 1, ((_id)>>16) & 1, \
 +      ((_id)>>15) & 1, ((_id)>>14) & 1, ((_id)>>13) & 1, ((_id)>>12) & 1, \
 +      ((_id)>>11) & 1, ((_id)>>10) & 1, ((_id)>>9) & 1, ((_id)>>8) & 1, \
 +      ((_id)>>7) & 1, ((_id)>>6) & 1, ((_id)>>5) & 1, ((_id)>>4) & 1, \
 +      ((_id)>>3) & 1, ((_id)>>2) & 1, ((_id)>>1) & 1, (_id) & 1
 +
 +/**
 + * struct mdio_device_id - identifies PHY devices on an MDIO/MII bus
 + * @phy_id: The result of
 + *     (mdio_read(&MII_PHYSID1) << 16 | mdio_read(&PHYSID2)) & @phy_id_mask
 + *     for this PHY type
 + * @phy_id_mask: Defines the significant bits of @phy_id.  A value of 0
 + *     is used to terminate an array of struct mdio_device_id.
 + */
 +struct mdio_device_id {
 +      __u32 phy_id;
 +      __u32 phy_id_mask;
 +};
 +
+ struct zorro_device_id {
+       __u32 id;                       /* Device ID or ZORRO_WILDCARD */
+       kernel_ulong_t driver_data;     /* Data private to the driver */
+ };
+ #define ZORRO_WILDCARD                        (0xffffffff)    /* not official */
+ #define ZORRO_DEVICE_MODALIAS_FMT     "zorro:i%08X"
  #endif /* LINUX_MOD_DEVICETABLE_H */
diff --combined scripts/mod/file2alias.c
index 36a60a853173cdbfb5a1cc9637d174be2813e099,df90f31d14bf3430aa6e56581cc47bb4f2b65bcf..9cf2400580a72a586b501c0c5d831473ea49dd77
@@@ -796,28 -796,16 +796,38 @@@ static int do_platform_entry(const cha
        return 1;
  }
  
 +static int do_mdio_entry(const char *filename,
 +                       struct mdio_device_id *id, char *alias)
 +{
 +      int i;
 +
 +      alias += sprintf(alias, MDIO_MODULE_PREFIX);
 +
 +      for (i = 0; i < 32; i++) {
 +              if (!((id->phy_id_mask >> (31-i)) & 1))
 +                      *(alias++) = '?';
 +              else if ((id->phy_id >> (31-i)) & 1)
 +                      *(alias++) = '1';
 +              else
 +                      *(alias++) = '0';
 +      }
 +
 +      /* Terminate the string */
 +      *alias = 0;
 +
 +      return 1;
 +}
 +
+ /* Looks like: zorro:iN. */
+ static int do_zorro_entry(const char *filename, struct zorro_device_id *id,
+                         char *alias)
+ {
+       id->id = TO_NATIVE(id->id);
+       strcpy(alias, "zorro:");
+       ADD(alias, "i", id->id != ZORRO_WILDCARD, id->id);
+       return 1;
+ }
  /* Ignore any prefix, eg. some architectures prepend _ */
  static inline int sym_is(const char *symbol, const char *name)
  {
@@@ -965,10 -953,10 +975,14 @@@ void handle_moddevtable(struct module *
                do_table(symval, sym->st_size,
                         sizeof(struct platform_device_id), "platform",
                         do_platform_entry, mod);
 +      else if (sym_is(symname, "__mod_mdio_device_table"))
 +              do_table(symval, sym->st_size,
 +                       sizeof(struct mdio_device_id), "mdio",
 +                       do_mdio_entry, mod);
+       else if (sym_is(symname, "__mod_zorro_device_table"))
+               do_table(symval, sym->st_size,
+                        sizeof(struct zorro_device_id), "zorro",
+                        do_zorro_entry, mod);
        free(zeros);
  }
  
This page took 0.093706 seconds and 4 git commands to generate.