Advertisement
Guest User

LAN9512 - Serial 030-201804132100

a guest
Apr 13th, 2018
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.92 KB | None | 0 0
  1. diff --git a/eeprom-image/lan95xx_eeprom_configurator.c b/eeprom-image/lan95xx_eeprom_configurator.c
  2. index c34083a..064c5dc 100755
  3. --- a/eeprom-image/lan95xx_eeprom_configurator.c
  4. +++ b/eeprom-image/lan95xx_eeprom_configurator.c
  5. @@ -23,7 +23,7 @@
  6.  /* debugging and more */
  7.  #if 1
  8.  #define XTYPE_LAN951X 2
  9. -#define LAN951X_SELFPOWERED 0
  10. +#define LAN951X_SELFPOWERED 1
  11.  #define LAN951X_REMOTEWAKEUP 0
  12.  
  13.  #define MANUFACTURERIDSTRINGDESC_LEN 15
  14. @@ -33,7 +33,7 @@
  15.  #define PRODUCTNAMESTRINGDESC_MSG 'u','s','b','n','e','t'
  16.  
  17.  #define SERIALNUMBERSTRINGDESC_LEN 16
  18. -#define SERIALNUMBERSTRINGDESC_MSG '0','0','0','-','2','0','1','6','1','0','1','6','2','0','3','0'
  19. +#define SERIALNUMBERSTRINGDESC_MSG '0','3','0','-','2','0','1','8','0','4','1','3','2','1','0','0'
  20.  
  21.  #endif
  22.  
  23. @@ -243,8 +243,8 @@ struct LAN95XXEEPROMlayout {
  24.  
  25.  USBMSG const struct LAN95XXEEPROMlayout lan95xx_eeprom_header = {
  26.    .eeprom_magic                    = 0xa5,
  27. -  /* (microchip technologies) 00:04:A3 : 12:34:56 */
  28. -  .macaddr                     = {0x00,0x04,0xa3,0x12,0x34,0x56},
  29. +  /* (microchip technologies) 00:04:A3 : 79:51:69 */
  30. +  .macaddr                     = {0x00,0x04,0xa3,0x79,0x51,0x69},
  31.    .pollinginterval_fullspeed               = 01,
  32.    .pollinginterval_highspeed               = 04,
  33.    .configuration_flags                 = (LAN951X_SELFPOWERED*EEPROMCONFIGFLAGS_SELFPOWERED)|(LAN951X_REMOTEWAKEUP*EEPROMCONFIGFLAGS_REMOTEWAKEUP),
  34. @@ -304,13 +304,13 @@ USBMSG const struct LAN95XXEEPROMlayout lan95xx_eeprom_header = {
  35.     .cfg_data                       = {(0x1b)|(LAN951X_SELFPOWERED*(0x80)),0x10,0x00},
  36.     .nrd                            = 0x02,
  37.  //TODO (deactivate all USB downstream ports):
  38. -   .pds                            = 0x3c,
  39. -   .pdb                            = 0x3c,
  40. +   .pds                            = 0x30,
  41. +   .pdb                            = 0x30,
  42.  
  43. -   .maxps                      = 0,
  44. -   .maxpb                      = 50,
  45. -   .hcmcs                      = 0,
  46. -   .hcmcb                      = 50,
  47. +   .maxps                      = 1,
  48. +   .maxpb                      = 75,
  49. +   .hcmcs                      = 1,
  50. +   .hcmcb                      = 75,
  51.     .pwrt                       = 150,
  52.     .boostup                        = 0x00,
  53.  #if (XTYPE_LAN951X==4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement