From 5a7558447ae9a795215468e5e7ad2511dc4a02fd Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 6 Jul 2017 16:58:22 +0100 Subject: [smscusb] Abstract out common SMSC USB device functionality The smsc75xx and smsc95xx drivers include a substantial amount of identical functionality, varying only in the base address of register sets. Abstract out this common functionality to allow code to be shared between the drivers. Signed-off-by: Michael Brown --- src/include/ipxe/errfile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index dc3de0518..6da1a4505 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -200,6 +200,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define ERRFILE_sfc_hunt ( ERRFILE_DRIVER | 0x00c40000 ) #define ERRFILE_efx_hunt ( ERRFILE_DRIVER | 0x00c50000 ) #define ERRFILE_exanic ( ERRFILE_DRIVER | 0x00c60000 ) +#define ERRFILE_smscusb ( ERRFILE_DRIVER | 0x00c70000 ) #define ERRFILE_aoe ( ERRFILE_NET | 0x00000000 ) #define ERRFILE_arp ( ERRFILE_NET | 0x00010000 ) -- cgit v1.2.3-55-g7522