summaryrefslogtreecommitdiffstats
path: root/src/core/device.c
Commit message (Collapse)AuthorAgeFilesLines
* [iSCSI] Support Windows Server 2008 direct iSCSI installationMichael Brown2008-07-171-5/+13
| | | | | | | | | | | | | Add yet another ugly hack to iscsiboot.c, this time to allow the user to inhibit the shutdown/removal of the iSCSI INT13 device (and the network devices, since they are required for the iSCSI device to function). On the plus side, the fact that shutdown() now takes flags to differentiate between shutdown-for-exit and shutdown-for-boot means that another ugly hack (to allow returning via the PXE stack on BIOSes that have broken INT 18 calls) will be easier. I feel dirty.
* 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