mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 03:55:46 +03:00
[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 <mcb30@ipxe.org>
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user