On 31 Aug 2016, at 7:03, Luiz Otavio O Souza wrote:

Author: loos
Date: Wed Aug 31 07:03:06 2016
New Revision: 305113
URL: https://svnweb.freebsd.org/changeset/base/305113

Log:
  Replace more magic numbers with the proper register names.

  Sponsored by: Rubicon Communications, LLC (Netgate)

Modified:
  head/sys/arm/ti/am335x/am335x_scm.h
  head/sys/arm/ti/cpsw/if_cpsw.c

Was this the right header file?  Looks like it wasn’t to me :(

/scratch/tmp/bz/head.svn/sys/modules/cpsw/../../arm/ti/cpsw/if_cpsw.c:1022:20: error: use of undeclared identifier 'SCM_MAC_ID0_HI' /scratch/tmp/bz/head.svn/sys/modules/cpsw/../../arm/ti/cpsw/if_cpsw.c:1029:20: error: use of undeclared identifier 'SCM_MAC_ID0_LO'



Modified: head/sys/arm/ti/am335x/am335x_scm.h
==============================================================================
--- head/sys/arm/ti/am335x/am335x_scm.h Wed Aug 31 06:46:47 2016 (r305112) +++ head/sys/arm/ti/am335x/am335x_scm.h Wed Aug 31 07:03:06 2016 (r305113)
@@ -34,6 +34,8 @@
 #define        SCM_USB_STS0    0x624
 #define        SCM_USB_CTRL1   0x628
 #define        SCM_USB_STS1    0x62C
+#define        SCM_MAC_ID0_LO  0x630
+#define        SCM_MAC_ID0_HI  0x634
 #define        SCM_PWMSS_CTRL  0x664

 #endif /* __AM335X_SCM_H__ */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to