DEVMETHOD()
Karl Sjödahl - dunceor
dunceor at gmail.com
Thu Apr 26 23:05:15 PDT 2007
On 4/25/07, Tero Mäntyvaara <termant at gmail.com> wrote:
What does DEVMETHOD()?
--
Tero Mäntyvaara
My hardware:
- Processor: AMD Athlon 64 3000+ (Socket 939)
- Mobo: Asus A8R-MVP (ATI CrossFire⢠Xpress 1600, Marvell 88E8001)
- Memory: 512 MB (PC-3200/400 MHz)
- Storage: 2 x Samsung SpinPoint P80SD HD080HJ 80 GB SATA2 NCQ
- Display adapter: Club 3D 6200LE PCI-E CGNX-L628R
Look here for where it's used and I bet you can understand the mening of it:
http://opengrok.creo.hu/dragonfly/search?q=DEVMETHOD&defs=&refs=&path=&hist=
/*
* Shorthand for constructing method tables.
*/
#define DEVMETHOD KOBJMETHOD
which goes to:
#define KOBJMETHOD(NAME, FUNC) { &NAME##_desc, (kobjop_t) FUNC }
br
dunceor
More information about the Kernel
mailing list