Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 13:12:12 GMT
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 171869 for review
Message-ID:  <200912171312.nBHDCCSI089823@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=171869

Change 171869 by raj@raj_fdt on 2009/12/17 13:11:34

	Convert tsec(4) driver to FDT/simplebus convention.

Affected files ...

.. //depot/projects/fdt/sys/conf/files.powerpc#6 edit
.. //depot/projects/fdt/sys/dev/tsec/if_tsec.h#2 edit
.. //depot/projects/fdt/sys/dev/tsec/if_tsec_fdt.c#1 add
.. //depot/projects/fdt/sys/dev/tsec/if_tsec_ocp.c#2 delete

Differences ...

==== //depot/projects/fdt/sys/conf/files.powerpc#6 (text+ko) ====

@@ -56,7 +56,7 @@
 dev/syscons/scterm-teken.c	optional	sc
 dev/syscons/scvtb.c		optional	sc
 dev/tsec/if_tsec.c		optional	tsec
-dev/tsec/if_tsec_ocp.c		optional	tsec mpc85xx
+dev/tsec/if_tsec_fdt.c		optional	tsec fdt
 dev/uart/uart_bus_ocp.c		optional	uart mpc85xx
 dev/uart/uart_cpu_powerpc.c	optional	uart
 kern/syscalls.c			optional	ktr

==== //depot/projects/fdt/sys/dev/tsec/if_tsec.h#2 (text+ko) ====

@@ -28,6 +28,8 @@
 #ifndef _IF_TSEC_H
 #define _IF_TSEC_H
 
+#include <dev/ofw/openfirm.h>
+
 #define TSEC_RX_NUM_DESC	256
 #define TSEC_TX_NUM_DESC	256
 
@@ -49,6 +51,7 @@
 	struct mtx	transmit_lock;	/* transmitter lock */
 	struct mtx	receive_lock;	/* receiver lock */
 
+	phandle_t	node;
 	device_t	dev;
 	device_t	tsec_miibus;
 	struct mii_data	*tsec_mii;	/* MII media control */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912171312.nBHDCCSI089823>