···12831283}1284128412851285#ifdef CONFIG_PPP_MULTILINK12861286+static bool mp_protocol_compress __read_mostly = true;12871287+module_param(mp_protocol_compress, bool, S_IRUGO | S_IWUSR);12881288+MODULE_PARM_DESC(mp_protocol_compress,12891289+ "compress protocol id in multilink fragments");12901290+12861291/*12871292 * Divide a packet to be transmitted into fragments and12881293 * send them out the individual links.···13501345 if (nfree == 0 || nfree < navail / 2)13511346 return 0; /* can't take now, leave it in xmit_pending */1352134713531353- /* Do protocol field compression (XXX this should be optional) */13481348+ /* Do protocol field compression */13541349 p = skb->data;13551350 len = skb->len;13561356- if (*p == 0) {13511351+ if (*p == 0 && mp_protocol_compress) {13571352 ++p;13581353 --len;13591354 }
+1-1
drivers/net/skfp/skfddi.c
···412412 bp->SharedMemAddr = pci_alloc_consistent(&bp->pdev,413413 bp->SharedMemSize,414414 &bp->SharedMemDMA);415415- if (!bp->SharedMemSize) {415415+ if (!bp->SharedMemAddr) {416416 printk("could not allocate mem for ");417417 printk("hardware module: %ld byte\n",418418 bp->SharedMemSize);
+1-1
drivers/net/starfire.c
···148148 * This SUCKS.149149 * We need a much better method to determine if dma_addr_t is 64-bit.150150 */151151-#if (defined(__i386__) && defined(CONFIG_HIGHMEM64G)) || defined(__x86_64__) || defined (__ia64__) || defined(__alpha__) || defined(__mips64__) || (defined(__mips__) && defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR)) || (defined(__powerpc64__) || defined(CONFIG_PHYS_64BIT))151151+#if (defined(__i386__) && defined(CONFIG_HIGHMEM64G)) || defined(__x86_64__) || defined (__ia64__) || defined(__alpha__) || (defined(CONFIG_MIPS) && ((defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR)) || defined(CONFIG_64BIT))) || (defined(__powerpc64__) || defined(CONFIG_PHYS_64BIT))152152/* 64-bit dma_addr_t */153153#define ADDR_64BITS /* This chip uses 64 bit addresses. */154154#define netdrv_addr_t __le64