* trivial: pcnet32 whitespace
@ 2002-05-26 18:30 Pavel Machek
2002-05-26 18:41 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2002-05-26 18:30 UTC (permalink / raw)
To: kernel list, Rusty trivial patch monkey Russell
Hi!
Kill extra whitespace, make gcc command look like it could work (used to be prehistoric).
--- clean/drivers/net/pcnet32.c Thu Apr 18 22:45:38 2002
+++ linux-swsusp/drivers/net/pcnet32.c Fri May 3 00:08:35 2002
@@ -453,8 +454,6 @@
reset: pcnet32_dwio_reset
};
-
-
/* only probes for non-PCI devices, the rest are handled by
* pci_register_driver via pcnet32_probe_pci */
@@ -583,12 +582,6 @@
*/
/* switch to home wiring mode */
media = a->read_bcr(ioaddr, 49);
-#if 0
- if (pcnet32_debug > 2)
- printk(KERN_DEBUG PFX "media value %#x.\n", media);
- media &= ~3;
- media |= 1;
-#endif
if (pcnet32_debug > 2)
printk(KERN_DEBUG PFX "media reset to %#x.\n", media);
a->write_bcr(ioaddr, 49, media);
@@ -1721,12 +1748,12 @@
}
}
module_init(pcnet32_init_module);
module_exit(pcnet32_cleanup_module);
/*
* Local variables:
- * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c pcnet32.c"
+ * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/include/linux -Wall -Wstrict-prototypes -O2 -m486 -c pcnet32.c"
* c-indent-level: 4
* tab-width: 8
* End:
--
(about SSSCA) "I don't say this lightly. However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-26 18:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-26 18:30 trivial: pcnet32 whitespace Pavel Machek
2002-05-26 18:41 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox