diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 00:04:47 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 00:04:47 -0400 |
| commit | 3b59bf081622b6446db77ad06c93fe23677bc533 (patch) | |
| tree | 3f4bb5a27c90cc86994a1f6d3c53fbf9208003cb /include/linux | |
| parent | e45836fafe157df137a837093037f741ad8f4c90 (diff) | |
| parent | bbdb32cb5b73597386913d052165423b9d736145 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking merge from David Miller:
"1) Move ixgbe driver over to purely page based buffering on receive.
From Alexander Duyck.
2) Add receive packet steering support to e1000e, from Bruce Allan.
3) Convert TCP MD5 support over to RCU, from Eric Dumazet.
4) Reduce cpu usage in handling out-of-order TCP packets on modern
systems, also from Eric Dumazet.
5) Support the IP{,V6}_UNICAST_IF socket options, making the wine
folks happy, from Erich Hoover.
6) Support VLAN trunking from guests in hyperv driver, from Haiyang
Zhang.
7) Support byte-queue-limtis in r8169, from Igor Maravic.
8) Outline code intended for IP_RECVTOS in IP_PKTOPTIONS existed but
was never properly implemented, Jiri Benc fixed that.
9) 64-bit statistics support in r8169 and 8139too, from Junchang Wang.
10) Support kernel side dump filtering by ctmark in netfilter
ctnetlink, from Pablo Neira Ayuso.
11) Support byte-queue-limits in gianfar driver, from Paul Gortmaker.
12) Add new peek socket options to assist with socket migration, from
Pavel Emelyanov.
13) Add sch_plug packet scheduler whose queue is controlled by
userland daemons using explicit freeze and release commands. From
Shriram Rajagopalan.
14) Fix FCOE checksum offload handling on transmit, from Yi Zou."
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1846 commits)
Fix pppol2tp getsockname()
Remove printk from rds_sendmsg
ipv6: fix incorrent ipv6 ipsec packet fragment
cpsw: Hook up default ndo_change_mtu.
net: qmi_wwan: fix build error due to cdc-wdm dependecy
netdev: driver: ethernet: Add TI CPSW driver
netdev: driver: ethernet: add cpsw address lookup engine support
phy: add am79c874 PHY support
mlx4_core: fix race on comm channel
bonding: send igmp report for its master
fs_enet: Add MPC5125 FEC support and PHY interface selection
net: bpf_jit: fix BPF_S_LDX_B_MSH compilation
net: update the usage of CHECKSUM_UNNECESSARY
fcoe: use CHECKSUM_UNNECESSARY instead of CHECKSUM_PARTIAL on tx
net: do not do gso for CHECKSUM_UNNECESSARY in netif_needs_gso
ixgbe: Fix issues with SR-IOV loopback when flow control is disabled
net/hyperv: Fix the code handling tx busy
ixgbe: fix namespace issues when FCoE/DCB is not enabled
rtlwifi: Remove unused ETH_ADDR_LEN defines
igbvf: Use ETH_ALEN
...
Fix up fairly trivial conflicts in drivers/isdn/gigaset/interface.c and
drivers/net/usb/{Kconfig,qmi_wwan.c} as per David.
Diffstat (limited to 'include/linux')
53 files changed, 1064 insertions, 445 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index c94e71781b79..a25555381097 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
| @@ -238,6 +238,7 @@ header-y += magic.h | |||
| 238 | header-y += major.h | 238 | header-y += major.h |
| 239 | header-y += map_to_7segment.h | 239 | header-y += map_to_7segment.h |
| 240 | header-y += matroxfb.h | 240 | header-y += matroxfb.h |
| 241 | header-y += mdio.h | ||
| 241 | header-y += media.h | 242 | header-y += media.h |
| 242 | header-y += mempolicy.h | 243 | header-y += mempolicy.h |
| 243 | header-y += meye.h | 244 | header-y += meye.h |
| @@ -304,6 +305,7 @@ header-y += poll.h | |||
| 304 | header-y += posix_types.h | 305 | header-y += posix_types.h |
| 305 | header-y += ppdev.h | 306 | header-y += ppdev.h |
| 306 | header-y += ppp-comp.h | 307 | header-y += ppp-comp.h |
| 308 | header-y += ppp-ioctl.h | ||
| 307 | header-y += ppp_defs.h | 309 | header-y += ppp_defs.h |
| 308 | header-y += pps.h | 310 | header-y += pps.h |
| 309 | header-y += prctl.h | 311 | header-y += prctl.h |
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 83c209f39493..5af9a075498f 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
| @@ -136,6 +136,7 @@ struct bcma_device { | |||
| 136 | bool dev_registered; | 136 | bool dev_registered; |
| 137 | 137 | ||
| 138 | u8 core_index; | 138 | u8 core_index; |
| 139 | u8 core_unit; | ||
| 139 | 140 | ||
| 140 | u32 addr; | 141 | u32 addr; |
| 141 | u32 wrap; | 142 | u32 wrap; |
| @@ -175,6 +176,12 @@ int __bcma_driver_register(struct bcma_driver *drv, struct module *owner); | |||
| 175 | 176 | ||
| 176 | extern void bcma_driver_unregister(struct bcma_driver *drv); | 177 | extern void bcma_driver_unregister(struct bcma_driver *drv); |
| 177 | 178 | ||
| 179 | /* Set a fallback SPROM. | ||
| 180 | * See kdoc at the function definition for complete documentation. */ | ||
| 181 | extern int bcma_arch_register_fallback_sprom( | ||
| 182 | int (*sprom_callback)(struct bcma_bus *bus, | ||
| 183 | struct ssb_sprom *out)); | ||
| 184 | |||
| 178 | struct bcma_bus { | 185 | struct bcma_bus { |
| 179 | /* The MMIO area. */ | 186 | /* The MMIO area. */ |
| 180 | void __iomem *mmio; | 187 | void __iomem *mmio; |
| @@ -195,6 +202,7 @@ struct bcma_bus { | |||
| 195 | struct list_head cores; | 202 | struct list_head cores; |
| 196 | u8 nr_cores; | 203 | u8 nr_cores; |
| 197 | u8 init_done:1; | 204 | u8 init_done:1; |
| 205 | u8 num; | ||
| 198 | 206 | ||
| 199 | struct bcma_drv_cc drv_cc; | 207 | struct bcma_drv_cc drv_cc; |
| 200 | struct bcma_drv_pci drv_pci; | 208 | struct bcma_drv_pci drv_pci; |
| @@ -282,6 +290,7 @@ static inline void bcma_maskset16(struct bcma_device *cc, | |||
| 282 | bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); | 290 | bcma_write16(cc, offset, (bcma_read16(cc, offset) & mask) | set); |
| 283 | } | 291 | } |
| 284 | 292 | ||
| 293 | extern struct bcma_device *bcma_find_core(struct bcma_bus *bus, u16 coreid); | ||
| 285 | extern bool bcma_core_is_enabled(struct bcma_device *core); | 294 | extern bool bcma_core_is_enabled(struct bcma_device *core); |
| 286 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); | 295 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); |
| 287 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); | 296 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); |
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index a33086a7530b..8bbfe31fbac8 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h | |||
| @@ -56,6 +56,9 @@ | |||
| 56 | #define BCMA_CC_OTPS_HW_PROTECT 0x00000001 | 56 | #define BCMA_CC_OTPS_HW_PROTECT 0x00000001 |
| 57 | #define BCMA_CC_OTPS_SW_PROTECT 0x00000002 | 57 | #define BCMA_CC_OTPS_SW_PROTECT 0x00000002 |
| 58 | #define BCMA_CC_OTPS_CID_PROTECT 0x00000004 | 58 | #define BCMA_CC_OTPS_CID_PROTECT 0x00000004 |
| 59 | #define BCMA_CC_OTPS_GU_PROG_IND 0x00000F00 /* General Use programmed indication */ | ||
| 60 | #define BCMA_CC_OTPS_GU_PROG_IND_SHIFT 8 | ||
| 61 | #define BCMA_CC_OTPS_GU_PROG_HW 0x00000100 /* HW region programmed */ | ||
| 59 | #define BCMA_CC_OTPC 0x0014 /* OTP control */ | 62 | #define BCMA_CC_OTPC 0x0014 /* OTP control */ |
| 60 | #define BCMA_CC_OTPC_RECWAIT 0xFF000000 | 63 | #define BCMA_CC_OTPC_RECWAIT 0xFF000000 |
| 61 | #define BCMA_CC_OTPC_PROGWAIT 0x00FFFF00 | 64 | #define BCMA_CC_OTPC_PROGWAIT 0x00FFFF00 |
| @@ -72,6 +75,8 @@ | |||
| 72 | #define BCMA_CC_OTPP_READ 0x40000000 | 75 | #define BCMA_CC_OTPP_READ 0x40000000 |
| 73 | #define BCMA_CC_OTPP_START 0x80000000 | 76 | #define BCMA_CC_OTPP_START 0x80000000 |
| 74 | #define BCMA_CC_OTPP_BUSY 0x80000000 | 77 | #define BCMA_CC_OTPP_BUSY 0x80000000 |
| 78 | #define BCMA_CC_OTPL 0x001C /* OTP layout */ | ||
| 79 | #define BCMA_CC_OTPL_GURGN_OFFSET 0x00000FFF /* offset of general use region */ | ||
| 75 | #define BCMA_CC_IRQSTAT 0x0020 | 80 | #define BCMA_CC_IRQSTAT 0x0020 |
| 76 | #define BCMA_CC_IRQMASK 0x0024 | 81 | #define BCMA_CC_IRQMASK 0x0024 |
| 77 | #define BCMA_CC_IRQ_GPIO 0x00000001 /* gpio intr */ | 82 | #define BCMA_CC_IRQ_GPIO 0x00000001 /* gpio intr */ |
| @@ -79,6 +84,10 @@ | |||
| 79 | #define BCMA_CC_IRQ_WDRESET 0x80000000 /* watchdog reset occurred */ | 84 | #define BCMA_CC_IRQ_WDRESET 0x80000000 /* watchdog reset occurred */ |
| 80 | #define BCMA_CC_CHIPCTL 0x0028 /* Rev >= 11 only */ | 85 | #define BCMA_CC_CHIPCTL 0x0028 /* Rev >= 11 only */ |
| 81 | #define BCMA_CC_CHIPSTAT 0x002C /* Rev >= 11 only */ | 86 | #define BCMA_CC_CHIPSTAT 0x002C /* Rev >= 11 only */ |
| 87 | #define BCMA_CC_CHIPST_4313_SPROM_PRESENT 1 | ||
| 88 | #define BCMA_CC_CHIPST_4313_OTP_PRESENT 2 | ||
| 89 | #define BCMA_CC_CHIPST_4331_SPROM_PRESENT 2 | ||
| 90 | #define BCMA_CC_CHIPST_4331_OTP_PRESENT 4 | ||
| 82 | #define BCMA_CC_JCMD 0x0030 /* Rev >= 10 only */ | 91 | #define BCMA_CC_JCMD 0x0030 /* Rev >= 10 only */ |
| 83 | #define BCMA_CC_JCMD_START 0x80000000 | 92 | #define BCMA_CC_JCMD_START 0x80000000 |
| 84 | #define BCMA_CC_JCMD_BUSY 0x80000000 | ||
