Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync up with Linus #71

Merged
merged 119 commits into from
May 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
d44c3fe
iwlwifi: mvm: fix Tx Power firmware API
Apr 18, 2015
145d90b
iwlwifi: mvm: don't stop the FW monitor too early
egrumbach Apr 13, 2015
1083fd7
iwlwifi: mvm: fix scan iteration complete notification handling
AviStern Mar 31, 2015
8047cc0
iwlwifi: mvm: Avoid signal based decisions if ave beacon RSSI is 0
alexbondarintel Mar 26, 2015
553452e
iwlwifi: pcie: prevent using unmapped memory in fw monitor
lkaufman-he Apr 16, 2015
5eb8f4d
mac80211: don't warn when stopping VLAN with stations
jmberg-intel Apr 13, 2015
60f4b62
mac80211: fix rhashtable conversion
jmberg-intel Apr 23, 2015
caf22d3
mac80211: enable hash table shrinking
jmberg-intel Apr 24, 2015
414b7e3
rtlwifi: rtl8192cu: Fix kernel deadlock
lwfinger Apr 24, 2015
8d193ca
iwlwifi: mvm: don't power off the device between INIT and OPER firmwares
Apr 27, 2015
6bbd552
iwlwifi: mvm: fix typo in CONFIG option
egrumbach Apr 28, 2015
e7afe89
iwlwifi: mvm: force quota update update after FW restart
jmberg-intel Apr 21, 2015
0df48c2
tcp: add tcpi_bytes_acked to tcp_info
Apr 28, 2015
bdd1f9e
tcp: add tcpi_bytes_received to tcp_info
Apr 28, 2015
64f40ff
tcp: prepare CC get_info() access from getsockopt()
Apr 28, 2015
6e9250f
tcp: add TCP_CC_INFO socket option
Apr 28, 2015
9dac883
tcp: update reordering first before detecting loss
yuchungcheng Apr 29, 2015
16e5c47
Bluetooth: bt3c: Delete some unuseful comments
Apr 10, 2015
50862ee
Bluetooth: btbcm: Export patchram download as separate function
holtmann Apr 10, 2015
c0ba7ac
Bluetooth: hci_uart: Reorder Atheros specific driver callbacks
holtmann Apr 11, 2015
4c876c0
Bluetooth: hci_uart: Add Atheros support for address configuration
holtmann Apr 11, 2015
a2698a9
Bluetooth: btusb: Add Realtek 8723A/8723B/8761A/8821A support
dsd Apr 16, 2015
eb50042
Bluetooth: btusb: Fix two coding style issues
holtmann Apr 16, 2015
c57ddfa
Bluetooth: btusb: off by one in rtl8723b_parse_firmware()
Apr 20, 2015
409e718
axp288_fuel_gauge: Add original author details
Mar 13, 2015
2a6afdd
MAINTAINERS: Add me as maintainer of Nokia N900 power supply drivers
pali Mar 29, 2015
932df43
power/reset: at91: fix return value check in at91_reset_platform_probe()
Apr 16, 2015
ce99236
power_supply: fix oops in collie_battery driver
lumag Apr 27, 2015
d881825
power: reset: ltc2952: Remove bogus hrtimer_start() return value checks
KAGA-KOKO Apr 14, 2015
d24d814
Bluetooth: Skip the shutdown routine if the interface is not up
gm-vm Apr 26, 2015
2b4d413
mac802154: fix ieee802154_register_hw error handling
alexaring Apr 30, 2015
89eb6d0
mac802154: llsec: fix return value check in llsec_key_alloc()
Apr 30, 2015
42fb23e
mac802154: add description to mac802154 APIs
bhadram Apr 30, 2015
1cc800e
ieee802154: Add trace events for rdev->ops
agx Apr 30, 2015
4748e86
at86rf230: Add macro for TRX STATE MASK
christofferholmstedt Apr 30, 2015
5b4a103
cfg802154: pass name_assign_type to rdev_add_virtual_intf()
bhadram Apr 30, 2015
5e8e01e
at86rf230: remove tabs after define
alexaring Apr 30, 2015
2ad3324
at86rf230: move cal_timeout to state change
alexaring Apr 30, 2015
3b951ca
at86rf230: add TX_ARET_ON for calibration timeout
alexaring Apr 30, 2015
2f8cdd9
at86rf230: remove unnecessary tx state change
alexaring Apr 30, 2015
8500920
at86rf230: change state change if from trx_off
alexaring Apr 30, 2015
d2c8bf5
at86rf230: add slp_tr support to start tx
alexaring Apr 30, 2015
1add156
ieee802154: trace: fix endian convertion
alexaring Apr 30, 2015
5793aff
net: can: xilinx_can: fix extended frame handling
Apr 29, 2015
0a73125
power: reset: Add MFD_SYSCON depends for brcmstb
ffainelli Apr 30, 2015
8ebb7e9
power: bq27x00_battery: Add missing MODULE_ALIAS
Apr 30, 2015
0581276
Merge tag 'iwlwifi-for-kalle-2015-04-28' of https://git.kernel.org/pu…
May 3, 2015
f673821
ath9k: fix per-packet tx power configuration
LorenzoBianconi Apr 8, 2015
a5d2809
codel: fix maxpacket/mtu confusion
Apr 30, 2015
edac450
netlink: Remove max_size setting
herbertx May 1, 2015
c0adf54
net/rds: fix unaligned memory access
srabinov May 1, 2015
f0e9fc5
drivers/net: include <module.h> for modular stmmac_platform code
May 1, 2015
4f6d25d
Merge tag 'linux-can-fixes-for-4.1-20150501' of git://git.kernel.org/…
davem330 May 4, 2015
4212b54
net: dsa: mv88e6xxx: unregister mv88e6352 driver
vivien May 1, 2015
5948632
fm10k: Do not assume budget will never be 0 for NAPI
May 1, 2015
eb78139
r8169: Do not use dev_kfree_skb in xmit path
May 1, 2015
e7fcd54
ixgbevf: Use dev_kfree_skb_any in xmit path, not dev_kfree_skb
May 1, 2015
bd4d95a
Merge branch 'dev_kfree_skb'
davem330 May 4, 2015
2e70aed
Revert "net: kernel socket should be released in init_net namespace"
herbertx May 3, 2015
efdbd2b
macvlan: Propagate promiscuity setting to lower devices.
vyasevich May 1, 2015
ff419b3
mac80211: fix 90 kernel-doc warnings
rddunlap Apr 27, 2015
6b096fd
isdn/gigaset: cede maintainership
tilmanschmidt May 2, 2015
d66bf7d
net: core: Correct an over-stringent device loop detection.
vyasevich May 3, 2015
965b2aa
net/smsc911x: fix irq resource allocation failure
May 4, 2015
a2d4fcb
Revert "Revert "smc91x: retrieve IRQ and trigger flags in a modern way""
davem330 May 4, 2015
e278371
net/rds: Fix new sparse warning
May 4, 2015
73e8431
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/ker…
davem330 May 4, 2015
0650c0b
bnx2x: Fix to prevent inner-reload
May 4, 2015
b7ba7b4
Merge tag 'mac80211-for-davem-2015-05-04' of git://git.kernel.org/pub…
davem330 May 4, 2015
7aab515
hv_netvsc: remove unused variable in netvsc_send()
snits May 4, 2015
cae0633
net/mlx4_en: Fix off-by-one in counters manipulation
May 5, 2015
2d3c739
net/mlx4_core: Work properly with EQ numbers > 256 in SRIOV
yishaih May 5, 2015
bc321ed
Merge branch 'mlx4'
davem330 May 5, 2015
c967a08
mpls: Move reserved label definitions
tomratbert May 5, 2015
53ee103
Merge tag 'wireless-drivers-for-davem-2015-05-05' of git://git.kernel…
davem330 May 5, 2015
31ccd0e
tcp_westwood: fix tcp_westwood_info()
Apr 29, 2015
c0a06ee
igb: Fix oops on changing number of rings
Apr 13, 2015
2439fc4
igb: Fix NULL assignment to incorrect variable in igb_reset_q_vector
Apr 13, 2015
0a80144
Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/ker…
davem330 May 9, 2015
e16e888
ipv6: Fixed source specific default route handling.
fingon May 5, 2015
f711a6a
net/rds: RDS-TCP: Always create a new rds_sock for an incoming connec…
sowminiv May 5, 2015
c82ac7e
net/rds: RDS-TCP: only initiate reconnect attempt on outgoing TCP soc…
sowminiv May 5, 2015
d3196a2
Merge branch 'rds'
davem330 May 9, 2015
bfbb92c
net: macb: Handle the RXUBR interrupt on all devices
natesully May 5, 2015
1006da1
drivers/net/usb: Add support for 'Lenovo OneLink Pro Dock'
qehgt May 6, 2015
d744318
net_sched: fix a use-after-free in tc_ctl_tfilter()
congwang May 5, 2015
74a78b1
net: amd-xgbe: Add hardware dependency
jdelvare May 6, 2015
ccad725
net: xgene_enet: Set hardware dependency
jdelvare May 6, 2015
240b23c
netxen_nic: use spin_[un]lock_bh around tx_clean_lock (2)
camuso May 6, 2015
3e4336a
usbnet: avoid integer overflow in start_xmit
zx2c4 May 6, 2015
7c0004d
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
davem330 May 10, 2015
78f5b89
mpls: Change reserved label names to be consistent with netbsd
tomratbert May 7, 2015
19fc99d
ARM: net fix emit_udiv() for BPF_ALU | BPF_DIV | BPF_K intruction.
nschichan May 6, 2015
0b59d88
ARM: net: delegate filter to kernel interpreter when imm_offset() ret…
nschichan May 7, 2015
cd9c399
bnx2x: limit fw delay in kdump to 5s after boot
michich May 7, 2015
fbf33a2
af_packet / TX_RING not fully non-blocking (w/ MSG_DONTWAIT).
May 8, 2015
7c0c826
net: mdio-gpio: Allow for unspecified bus id
biot May 8, 2015
268be0f
net: qca_spi: Fix possible race during probe
lategoodbye May 9, 2015
665a6cd
pppoe: drop pppoe device in pppoe_unbind_sock_work
May 9, 2015
145a42b
net_sched: gred: use correct backlog value in WRED mode
dpward May 10, 2015
94634e9
IB/ehca: use correct destination for memcpy
May 11, 2015
940fd30
iw_cxgb4: use wildcard mapping for getting remote addr info
May 7, 2015
2936ae0
MAINTAINERS: update the official rdma git repo
dledford May 12, 2015
cafb45b
MIPS: SMP: Fix build error.
ralfbaechle May 12, 2015
6938f85
Update be2net maintainers' email addresses
May 12, 2015
620b155
MIPS: fix FP mode selection in lieu of .MIPS.abiflags data
paulburton May 6, 2015
ec04847
RDMA/core: Fix for parsing netlink string attribute
tatyana-en May 8, 2015
ec40f92
IB/qib: fix test of unsigned variable
mmarcini May 12, 2015
f4f01b5
infiniband: Remove duplicated KERN_<LEVEL> from pr_<level> uses
JoePerches May 8, 2015
cc49e8c
Merge tag 'for-v4.1-rc' of git://git.infradead.org/battery-2.6
torvalds May 12, 2015
e3d8ecb
netns: return RTM_NEWNSID instead of RTM_GETNSID on a get
NicolasDichtel May 11, 2015
03906ca
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds May 12, 2015
6c9d370
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…
torvalds May 12, 2015
343f845
x86: bpf_jit: fix FROM_BE16 and FROM_LE16/32 instructions
May 12, 2015
44d4f8d
net: ll_temac: Fix DMA map size bug
May 12, 2015
bced870
net: phy: micrel: Fix regression in kszphy_probe
May 12, 2015
5684044
e1000e: Add pm_qos header
dsahern May 12, 2015
01d460d
net: Remove remaining remnants of pm_qos from netdevice.h
dsahern May 12, 2015
110bc76
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds May 13, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4377,11 +4377,10 @@ F: fs/gfs2/
F: include/uapi/linux/gfs2_ondisk.h

GIGASET ISDN DRIVERS
M: Hansjoerg Lipp <[email protected]>
M: Tilman Schmidt <[email protected]>
M: Paul Bolle <[email protected]>
L: [email protected]
W: http://gigaset307x.sourceforge.net/
S: Maintained
S: Odd Fixes
F: Documentation/isdn/README.gigaset
F: drivers/isdn/gigaset/
F: include/uapi/linux/gigaset_dev.h
Expand Down Expand Up @@ -5054,7 +5053,7 @@ M: Hal Rosenstock <[email protected]>
L: [email protected]
W: http://www.openfabrics.org/
Q: http://patchwork.kernel.org/project/linux-rdma/list/
T: git git://github.com/dledford/linux.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git
S: Supported
F: Documentation/infiniband/
F: drivers/infiniband/
Expand Down Expand Up @@ -6959,6 +6958,17 @@ T: git git://git.rocketboards.org/linux-socfpga-next.git
S: Maintained
F: arch/nios2/

NOKIA N900 POWER SUPPLY DRIVERS
M: Pali Rohár <[email protected]>
S: Maintained
F: include/linux/power/bq2415x_charger.h
F: include/linux/power/bq27x00_battery.h
F: include/linux/power/isp1704_charger.h
F: drivers/power/bq2415x_charger.c
F: drivers/power/bq27x00_battery.c
F: drivers/power/isp1704_charger.c
F: drivers/power/rx51_battery.c

NTB DRIVER
M: Jon Mason <[email protected]>
M: Dave Jiang <[email protected]>
Expand Down Expand Up @@ -8816,10 +8826,11 @@ W: http://www.emulex.com
S: Supported
F: drivers/scsi/be2iscsi/

SERVER ENGINES 10Gbps NIC - BladeEngine 2 DRIVER
M: Sathya Perla <[email protected]>
M: Subbu Seetharaman <[email protected]>
M: Ajit Khaparde <[email protected]>
Emulex 10Gbps NIC BE2, BE3-R, Lancer, Skyhawk-R DRIVER
M: Sathya Perla <[email protected]>
M: Ajit Khaparde <[email protected]>
M: Padmanabh Ratnakar <[email protected]>
M: Sriharsha Basavapatna <[email protected]>
L: [email protected]
W: http://www.emulex.com
S: Supported
Expand Down
42 changes: 39 additions & 3 deletions arch/arm/net/bpf_jit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#define SEEN_DATA (1 << (BPF_MEMWORDS + 3))

#define FLAG_NEED_X_RESET (1 << 0)
#define FLAG_IMM_OVERFLOW (1 << 1)

struct jit_ctx {
const struct bpf_prog *skf;
Expand Down Expand Up @@ -293,6 +294,15 @@ static u16 imm_offset(u32 k, struct jit_ctx *ctx)
/* PC in ARM mode == address of the instruction + 8 */
imm = offset - (8 + ctx->idx * 4);

if (imm & ~0xfff) {
/*
* literal pool is too far, signal it into flags. we
* can only detect it on the second pass unfortunately.
*/
ctx->flags |= FLAG_IMM_OVERFLOW;
return 0;
}

return imm;
}

Expand Down Expand Up @@ -449,10 +459,21 @@ static inline void emit_udiv(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx)
return;
}
#endif
if (rm != ARM_R0)
emit(ARM_MOV_R(ARM_R0, rm), ctx);

/*
* For BPF_ALU | BPF_DIV | BPF_K instructions, rm is ARM_R4
* (r_A) and rn is ARM_R0 (r_scratch) so load rn first into
* ARM_R1 to avoid accidentally overwriting ARM_R0 with rm
* before using it as a source for ARM_R1.
*
* For BPF_ALU | BPF_DIV | BPF_X rm is ARM_R4 (r_A) and rn is
* ARM_R5 (r_X) so there is no particular register overlap
* issues.
*/
if (rn != ARM_R1)
emit(ARM_MOV_R(ARM_R1, rn), ctx);
if (rm != ARM_R0)
emit(ARM_MOV_R(ARM_R0, rm), ctx);

ctx->seen |= SEEN_CALL;
emit_mov_i(ARM_R3, (u32)jit_udiv, ctx);
Expand Down Expand Up @@ -855,6 +876,14 @@ static int build_body(struct jit_ctx *ctx)
default:
return -1;
}

if (ctx->flags & FLAG_IMM_OVERFLOW)
/*
* this instruction generated an overflow when
* trying to access the literal pool, so
* delegate this filter to the kernel interpreter.
*/
return -1;
}

/* compute offsets only during the first pass */
Expand Down Expand Up @@ -917,7 +946,14 @@ void bpf_jit_compile(struct bpf_prog *fp)
ctx.idx = 0;

build_prologue(&ctx);
build_body(&ctx);
if (build_body(&ctx) < 0) {
#if __LINUX_ARM_ARCH__ < 7
if (ctx.imm_count)
kfree(ctx.imms);
#endif
bpf_jit_binary_free(header);
goto out;
}
build_epilogue(&ctx);

flush_icache_range((u32)ctx.target, (u32)(ctx.target + ctx.idx));
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ extern int __cpu_logical_map[NR_CPUS];
#define SMP_DUMP 0x8
#define SMP_ASK_C0COUNT 0x10

extern volatile cpumask_t cpu_callin_map;
extern cpumask_t cpu_callin_map;

/* Mask of CPUs which are currently definitely operating coherently */
extern cpumask_t cpu_coherent_mask;
Expand Down
32 changes: 17 additions & 15 deletions arch/mips/kernel/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf,

/* Lets see if this is an O32 ELF */
if (ehdr32->e_ident[EI_CLASS] == ELFCLASS32) {
/* FR = 1 for N32 */
if (ehdr32->e_flags & EF_MIPS_ABI2)
state->overall_fp_mode = FP_FR1;
else
/* Set a good default FPU mode for O32 */
state->overall_fp_mode = cpu_has_mips_r6 ?
FP_FRE : FP_FR0;

if (ehdr32->e_flags & EF_MIPS_FP64) {
/*
* Set MIPS_ABI_FP_OLD_64 for EF_MIPS_FP64. We will override it
Expand All @@ -104,9 +96,6 @@ int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf,
(char *)&abiflags,
sizeof(abiflags));
} else {
/* FR=1 is really the only option for 64-bit */
state->overall_fp_mode = FP_FR1;

if (phdr64->p_type != PT_MIPS_ABIFLAGS)
return 0;
if (phdr64->p_filesz < sizeof(abiflags))
Expand Down Expand Up @@ -137,6 +126,7 @@ int arch_check_elf(void *_ehdr, bool has_interpreter,
struct elf32_hdr *ehdr = _ehdr;
struct mode_req prog_req, interp_req;
int fp_abi, interp_fp_abi, abi0, abi1, max_abi;
bool is_mips64;

if (!config_enabled(CONFIG_MIPS_O32_FP64_SUPPORT))
return 0;
Expand All @@ -152,10 +142,22 @@ int arch_check_elf(void *_ehdr, bool has_interpreter,
abi0 = abi1 = fp_abi;
}

/* ABI limits. O32 = FP_64A, N32/N64 = FP_SOFT */
max_abi = ((ehdr->e_ident[EI_CLASS] == ELFCLASS32) &&
(!(ehdr->e_flags & EF_MIPS_ABI2))) ?
MIPS_ABI_FP_64A : MIPS_ABI_FP_SOFT;
is_mips64 = (ehdr->e_ident[EI_CLASS] == ELFCLASS64) ||
(ehdr->e_flags & EF_MIPS_ABI2);

if (is_mips64) {
/* MIPS64 code always uses FR=1, thus the default is easy */
state->overall_fp_mode = FP_FR1;

/* Disallow access to the various FPXX & FP64 ABIs */
max_abi = MIPS_ABI_FP_SOFT;
} else {
/* Default to a mode capable of running code expecting FR=0 */
state->overall_fp_mode = cpu_has_mips_r6 ? FP_FRE : FP_FR0;

/* Allow all ABIs we know about */
max_abi = MIPS_ABI_FP_64A;
}

if ((abi0 > max_abi && abi0 != MIPS_ABI_FP_UNKNOWN) ||
(abi1 > max_abi && abi1 != MIPS_ABI_FP_UNKNOWN))
Expand Down
6 changes: 4 additions & 2 deletions arch/mips/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include <asm/time.h>
#include <asm/setup.h>

volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */
cpumask_t cpu_callin_map; /* Bitmask of started secondaries */

int __cpu_number_map[NR_CPUS]; /* Map physical to logical */
EXPORT_SYMBOL(__cpu_number_map);
Expand Down Expand Up @@ -218,8 +218,10 @@ int __cpu_up(unsigned int cpu, struct task_struct *tidle)
/*
* Trust is futile. We should really have timeouts ...
*/
while (!cpumask_test_cpu(cpu, &cpu_callin_map))
while (!cpumask_test_cpu(cpu, &cpu_callin_map)) {
udelay(100);
schedule();
}

synchronise_count_master(cpu);
return 0;
Expand Down
28 changes: 28 additions & 0 deletions arch/x86/net/bpf_jit_comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,13 @@ static int do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image,
if (is_ereg(dst_reg))
EMIT1(0x41);
EMIT3(0xC1, add_1reg(0xC8, dst_reg), 8);

/* emit 'movzwl eax, ax' */
if (is_ereg(dst_reg))
EMIT3(0x45, 0x0F, 0xB7);
else
EMIT2(0x0F, 0xB7);
EMIT1(add_2reg(0xC0, dst_reg, dst_reg));
break;
case 32:
/* emit 'bswap eax' to swap lower 4 bytes */
Expand All @@ -577,6 +584,27 @@ static int do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image,
break;

case BPF_ALU | BPF_END | BPF_FROM_LE:
switch (imm32) {
case 16:
/* emit 'movzwl eax, ax' to zero extend 16-bit
* into 64 bit
*/
if (is_ereg(dst_reg))
EMIT3(0x45, 0x0F, 0xB7);
else
EMIT2(0x0F, 0xB7);
EMIT1(add_2reg(0xC0, dst_reg, dst_reg));
break;
case 32:
/* emit 'mov eax, eax' to clear upper 32-bits */
if (is_ereg(dst_reg))
EMIT1(0x45);
EMIT2(0x89, add_2reg(0xC0, dst_reg, dst_reg));
break;
case 64:
/* nop */
break;
}
break;

/* ST: *(u8*)(dst_reg + off) = imm */
Expand Down
3 changes: 0 additions & 3 deletions drivers/bluetooth/bt3c_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ static void bt3c_receive(struct bt3c_info *info)
iobase = info->p_dev->resource[0]->start;

avail = bt3c_read(iobase, 0x7006);
//printk("bt3c_cs: receiving %d bytes\n", avail);

bt3c_address(iobase, 0x7480);
while (size < avail) {
Expand All @@ -250,7 +249,6 @@ static void bt3c_receive(struct bt3c_info *info)

bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L);
inb(iobase + DATA_H);
//printk("bt3c: PACKET_TYPE=%02x\n", bt_cb(info->rx_skb)->pkt_type);

switch (bt_cb(info->rx_skb)->pkt_type) {

Expand Down Expand Up @@ -364,7 +362,6 @@ static irqreturn_t bt3c_interrupt(int irq, void *dev_inst)
if (stat & 0x0001)
bt3c_receive(info);
if (stat & 0x0002) {
//BT_ERR("Ack (stat=0x%04x)", stat);
clear_bit(XMIT_SENDING, &(info->tx_state));
bt3c_write_wakeup(info);
}
Expand Down
Loading