Remove code related to PLATFORM_OS_CE

This commit is contained in:
Carlos Garces
2021-10-14 20:40:03 +02:00
parent b8fb1c691d
commit b7fc146dee
27 changed files with 125 additions and 638 deletions

View File

@@ -61,17 +61,13 @@
#define NR_XMITBUFF (128)
#endif
#ifdef PLATFORM_OS_CE
#ifdef CONFIG_PCI_HCI
#define XMITBUF_ALIGN_SZ 4
#else
#ifdef CONFIG_PCI_HCI
#define XMITBUF_ALIGN_SZ 4
#ifdef USB_XMITBUF_ALIGN_SZ
#define XMITBUF_ALIGN_SZ (USB_XMITBUF_ALIGN_SZ)
#else
#ifdef USB_XMITBUF_ALIGN_SZ
#define XMITBUF_ALIGN_SZ (USB_XMITBUF_ALIGN_SZ)
#else
#define XMITBUF_ALIGN_SZ 512
#endif
#define XMITBUF_ALIGN_SZ 512
#endif
#endif
@@ -600,10 +596,6 @@ struct xmit_buf {
PURB pxmit_urb[8];
dma_addr_t dma_transfer_addr; /* (in) dma addr for transfer_buffer */
#ifdef PLATFORM_OS_CE
USB_TRANSFER usb_transfer_write_port;
#endif
u8 bpending[8];
sint last[8];
@@ -784,10 +776,6 @@ struct xmit_priv {
_sema tx_retevt;/* all tx return event; */
u8 txirp_cnt;
#ifdef PLATFORM_OS_CE
USB_TRANSFER usb_transfer_write_port;
/* USB_TRANSFER usb_transfer_write_mem; */
#endif
#ifdef PLATFORM_LINUX
struct tasklet_struct xmit_tasklet;
#endif