mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-09 01:28:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
3
drivers/scsi/cxgbi/cxgb4i/Kbuild
Normal file
3
drivers/scsi/cxgbi/cxgb4i/Kbuild
Normal file
|
@ -0,0 +1,3 @@
|
|||
EXTRA_CFLAGS += -I$(srctree)/drivers/net/ethernet/chelsio/cxgb4
|
||||
|
||||
obj-$(CONFIG_SCSI_CXGB4_ISCSI) += cxgb4i.o
|
10
drivers/scsi/cxgbi/cxgb4i/Kconfig
Normal file
10
drivers/scsi/cxgbi/cxgb4i/Kconfig
Normal file
|
@ -0,0 +1,10 @@
|
|||
config SCSI_CXGB4_ISCSI
|
||||
tristate "Chelsio T4 iSCSI support"
|
||||
depends on PCI && INET && (IPV6 || IPV6=n)
|
||||
select NETDEVICES
|
||||
select ETHERNET
|
||||
select NET_VENDOR_CHELSIO
|
||||
select CHELSIO_T4
|
||||
select SCSI_ISCSI_ATTRS
|
||||
---help---
|
||||
This driver supports iSCSI offload for the Chelsio T4 devices.
|
1805
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Normal file
1805
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Normal file
File diff suppressed because it is too large
Load diff
43
drivers/scsi/cxgbi/cxgb4i/cxgb4i.h
Normal file
43
drivers/scsi/cxgbi/cxgb4i/cxgb4i.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* cxgb4i.h: Chelsio T4 iSCSI driver.
|
||||
*
|
||||
* Copyright (c) 2010 Chelsio Communications, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* Written by: Karen Xie (kxie@chelsio.com)
|
||||
* Written by: Rakesh Ranjan (rranjan@chelsio.com)
|
||||
*/
|
||||
|
||||
#ifndef __CXGB4I_H__
|
||||
#define __CXGB4I_H__
|
||||
|
||||
#define CXGB4I_SCSI_HOST_QDEPTH 1024
|
||||
#define CXGB4I_MAX_CONN 16384
|
||||
#define CXGB4I_MAX_TARGET CXGB4I_MAX_CONN
|
||||
#define CXGB4I_MAX_LUN 0x1000
|
||||
|
||||
/* for TX: a skb must have a headroom of at least TX_HEADER_LEN bytes */
|
||||
#define CXGB4I_TX_HEADER_LEN \
|
||||
(sizeof(struct fw_ofld_tx_data_wr) + sizeof(struct sge_opaque_hdr))
|
||||
|
||||
struct ulptx_idata {
|
||||
__be32 cmd_more;
|
||||
__be32 len;
|
||||
};
|
||||
|
||||
struct cpl_rx_data_ddp {
|
||||
union opcode_tid ot;
|
||||
__be16 urg;
|
||||
__be16 len;
|
||||
__be32 seq;
|
||||
union {
|
||||
__be32 nxt_seq;
|
||||
__be32 ddp_report;
|
||||
};
|
||||
__be32 ulp_crc;
|
||||
__be32 ddpvld;
|
||||
};
|
||||
#endif /* __CXGB4I_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue