Re: [PATCH] WoL support to the 8139cp ethernet driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Jul 2002, Felipe W Damasio wrote:

> This patch add Wake-on-LAN support to the 8139cp ethernet driver. It also
> convert the gccism "foo: bar" to the C99 ".foo = bar" syntax.

Linux drivers are one of the few places where I support GCC-isms; the
drivers must be compiled with GCC.  And this is one of the few syntax
extensions that is required.  Using the "element: init," initialization 
is the only compatible syntax.

One GCC-isms that I never use is "//" as a comment in C code (it's never
required), and I avoid whole-structure initializers and dynamically
sized arrays for stack automatics.

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux