[U-Boot-Users] [DNX#2006101142000022] [PATCH 2/2] Adding support for KS8993, KS8893, KS8 [...]

DENX Support System support at denx.de
Wed Oct 11 14:30:11 CEST 2006


Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006101142000022] was created:

<snip>
> Hi, 
> 
> this patch includes the header files for Micrel's switches KS8893 and
> KS8993
> and for Micrel's PHYs KS8721 and KS8001.
> 
> Best Regards
> Mirco
> 
> Signed-off-by: Mirco Fuchs mircofuchs at web.de
> 
> diff --git a/include/ks8893.h b/include/ks8893.h
> new file mode 100644
> index 0000000..a0a01e7
> --- /dev/null
> +++ b/include/ks8893.h
> @@ -0,0 +1,145 @@
> +/*
> + * Micrel KS8893 Ethernet Switch
> + *
> + * (C) Copyright 2006
> + * Authors :
> + *	Udo Jakobza (jakobza at ftz-leipzig.de)
> + *	Mirco Fuchs (fuchs at ftz-leipzig.de)
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + */
> + 
> +#ifndef __KS8893_H_
> +#define __KS8893_H_
> + 
> +/* Micrel Ethernet Switch KS8893 Global Registers (Extended via SMI) */
> +#define KS8893_CPID0_REG	0 	/* Chip ID0 register */
> +#define KS8893_CPID1_REG	1	/* Chip ID1 / Start Switch register
> */
> +#define KS8893_GLB_CTL4_REG	6
> +
> +/* Micrel Ethernet Switch KS8893 Port1 Registers (Extended via SMI) */
> +#define KS8893_PORT1_CTL0_REG	16
> +#define KS8893_PORT1_CTL1_REG	17
> +#define KS8893_PORT1_CTL2_REG	18
> +#define KS8893_PORT1_CTL3_REG	19
> +#define KS8893_PORT1_CTL4_REG	20
> +#define KS8893_PORT1_CTL5_REG	21
> +#define KS8893_PORT1_CTL6_REG	22
> +#define KS8893_PORT1_CTL7_REG	23
> +#define KS8893_PORT1_CTL8_REG	24
> +#define KS8893_PORT1_CTL9_REG	25
> +#define KS8893_PORT1_CTL10_REG	26
> +#define KS8893_PORT1_CTL11_REG	27
> +#define KS8893_PORT1_CTL12_REG	28
> +#define KS8893_PORT1_CTL13_REG	29
> +#define KS8893_PORT1_STAT0_REG	30
> +#define KS8893_PORT1_STAT1_REG	31
> +
> +/* Micrel Ethernet Switch KS8893 Port2 Registers (Extended via SMI) */
> +#define KS8893_PORT2_CTL0_REG	32
> +#define KS8893_PORT2_CTL1_REG	33
> +#define KS8893_PORT2_CTL2_REG	34
> +#define KS8893_PORT2_CTL3_REG	35
> +#define KS8893_PORT2_CTL4_REG	36
> +#define KS8893_PORT2_CTL5_REG	37
> +#define KS8893_PORT2_CTL6_REG	38
> +#define KS8893_PORT2_CTL7_REG	39
> +#define KS8893_PORT2_CTL8_REG	40
> +#define KS8893_PORT2_CTL9_REG	41
> +#define KS8893_PORT2_CTL10_REG	42
> +#define KS8893_PORT2_CTL11_REG	43
> +#define KS8893_PORT2_CTL12_REG	44
> +#define KS8893_PORT2_CTL13_REG	45
> +#define KS8893_PORT2_STAT0_REG	46
> +#define KS8893_PORT2_STAT1_REG	47
> +
> +/* Micrel Ethernet Switch KS8893 Port2 Registers (Extended via SMI) */
> +#define KS8893_PORT3_CTL0_REG	48
> +#define KS8893_PORT3_CTL1_REG	49
> +#define KS8893_PORT3_CTL2_REG	50
> +#define KS8893_PORT3_CTL3_REG	51
> +#define KS8893_PORT3_CTL4_REG	52
> +#define KS8893_PORT3_CTL5_REG	53
> +#define KS8893_PORT3_CTL6_REG	54
> +#define KS8893_PORT3_CTL7_REG	55
> +#define KS8893_PORT3_CTL8_REG	56
> +#define KS8893_PORT3_CTL9_REG	57
</snip>

Your U-Boot support team




More information about the U-Boot mailing list