patch-2.1.48 linux/arch/m68k/boot/atari/bootp.h
Next file: linux/arch/m68k/boot/atari/bootstrap.c
Previous file: linux/arch/m68k/boot/atari/bootp.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.1.47/linux/arch/m68k/boot/atari/bootp.h
- Orig date:
Wed Apr 23 19:01:15 1997
diff -u --recursive --new-file v2.1.47/linux/arch/m68k/boot/atari/bootp.h linux/arch/m68k/boot/atari/bootp.h
@@ -1,44 +0,0 @@
-#ifndef _bootp_h
-#define _bootp_h
-
-/* --------------------------------------------------------------------- */
-/* Ethernet Definitions */
-
-#define PKTLEN 1544
-typedef unsigned char Packet[PKTLEN];
-
-#define ETHADDRLEN 6
-typedef unsigned char HWADDR[ETHADDRLEN];
-
-typedef struct {
- int (*probe)( void );
- int (*init)( void );
- void (*get_hwaddr)( HWADDR *addr );
- int (*snd)( Packet *pkt, int len );
- int (*rcv)( Packet *pkt, int *len );
-} ETHIF_SWITCH;
-
-
-/* error codes */
-#define ETIMEO -1 /* Timeout */
-#define ESEND -2 /* General send error (carrier, abort, ...) */
-#define ERCV -3 /* General receive error */
-#define EFRAM -4 /* Framing error */
-#define EOVERFL -5 /* Overflow (too long packet) */
-#define ECRC -6 /* CRC error */
-
-
-typedef unsigned long IPADDR;
-
-
-/***************************** Prototypes *****************************/
-
-int get_remote_kernel( const char *kname );
-int ll_read( int fd, void *buf, unsigned cnt );
-int ll_lseek( int fd, int where, int whence );
-int ll_close( int fd );
-
-/************************* End of Prototypes **************************/
-
-#endif /* _bootp_h */
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov