summaryrefslogtreecommitdiffstats
path: root/src/core/device.c
Commit message (Collapse)AuthorAgeFilesLines
* Add "name" field to struct device to allow human-readable hardware deviceMichael Brown2007-01-101-5/+7
| | | | | | | | | | | names. Add "dev" pointer in struct net_device to tie network interfaces back to a hardware device. Force natural alignment of data types in __table() macros. This seems to prevent gcc from taking the unilateral decision to occasionally increase their alignment (which screws up the table packing).
* Add device to hierarchy before calling the driver's probe() function; thisMichael Brown2007-01-081-15/+18
| | | | | way everything remains consistent if the probe() ends up creating child devices.
* We don't actually have a stdio.h header file. Our printf() functions areMichael Brown2006-09-271-1/+0Star
| | | | | | | | defined in vsprintf.h. (This may change, since vsprintf.h is a non-standard name, but for now it's the one to use.) There should be no need to include vsprintf.h just for DBG() statements, since include/compiler.h forces it in for a debug build anyway.
* include stdio.h to suppress printf warning, general warnings fixupsMarty Connor2006-09-271-0/+1
|
* Added generic device model.Michael Brown2006-05-161-0/+97