mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 10:30:23 +03:00
Include errno.h in the few drivers which use it, rather than in nic.h
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <gpxe/device.h>
|
#include <gpxe/device.h>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#include "etherboot.h"
|
#include "etherboot.h"
|
||||||
#include "nic.h"
|
#include "nic.h"
|
||||||
|
#include <errno.h>
|
||||||
#include <gpxe/pci.h>
|
#include <gpxe/pci.h>
|
||||||
#include <gpxe/ethernet.h>
|
#include <gpxe/ethernet.h>
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|||||||
@@ -66,6 +66,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
#include <gpxe/ethernet.h>
|
#include <gpxe/ethernet.h>
|
||||||
#include "etherboot.h"
|
#include "etherboot.h"
|
||||||
#include "nic.h"
|
#include "nic.h"
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ has 34 pins, the top row of 2 are not used.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "etherboot.h"
|
#include "etherboot.h"
|
||||||
|
#include <errno.h>
|
||||||
#include "nic.h"
|
#include "nic.h"
|
||||||
#include <gpxe/isa.h>
|
#include <gpxe/isa.h>
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gpxe/ethernet.h>
|
#include <gpxe/ethernet.h>
|
||||||
|
#include <errno.h>
|
||||||
#include "etherboot.h"
|
#include "etherboot.h"
|
||||||
#include "nic.h"
|
#include "nic.h"
|
||||||
#include <gpxe/isa.h>
|
#include <gpxe/isa.h>
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
#include "etherboot.h"
|
#include "etherboot.h"
|
||||||
#include "nic.h"
|
#include "nic.h"
|
||||||
|
#include <errno.h>
|
||||||
#include <gpxe/pci.h>
|
#include <gpxe/pci.h>
|
||||||
#include <gpxe/ethernet.h>
|
#include <gpxe/ethernet.h>
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <byteswap.h>
|
#include <byteswap.h>
|
||||||
#include <gpxe/pci.h>
|
#include <gpxe/pci.h>
|
||||||
#include <gpxe/isapnp.h>
|
#include <gpxe/isapnp.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user