Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 10:14:08 +0000
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        "Luiz Otavio O Souza" <loos@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r305113 - in head/sys/arm/ti: am335x cpsw
Message-ID:  <A21CAD96-7110-41C7-8636-A69364CE0FE1@FreeBSD.org>
In-Reply-To: <201608310703.u7V737LF089002@repo.freebsd.org>
References:  <201608310703.u7V737LF089002@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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__ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A21CAD96-7110-41C7-8636-A69364CE0FE1>