From: <he...@us...> - 2004-10-20 00:01:27
|
Update of /cvsroot/gc-linux/linux/drivers/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4504/drivers/net Modified Files: Kconfig Makefile Added Files: gcn-bba.c Removed Files: gc-net.c Log Message: - Lots of cosmetic changes. - Renamed gc-net.c to gcn-bba.c. - Removed the low level EXI code from the driver and made use of the gcn-exi-lite framework. --- NEW FILE: gcn-bba.c --- /** * drivers/net/gcn-bba.c * * Nintendo GameCube Broadband Adapter driver * Copyright (C) 2004 Albert Herranz * Copyright (C) 2004 The GameCube Linux Team * * Based on previous work by Stefan Esser, Franz Lehner, Costis and tmbinc. * * 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. * */ #define BBA_DEBUG #include <linux/config.h> [...1022 lines suppressed...] /* only one should call exi_lite_init()/exi_lite_exit() */ exi_lite_init(); ret = bba_probe(); return ret; } /** * */ static void __exit bba_exit_module(void) { unregister_netdev(bba_dev); exi_lite_exit(); } module_init(bba_init_module); module_exit(bba_exit_module); Index: Kconfig =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Kconfig,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Kconfig 19 Oct 2004 09:46:09 -0000 1.9 +++ Kconfig 20 Oct 2004 00:01:16 -0000 1.10 @@ -198,11 +198,11 @@ source "drivers/net/arm/Kconfig" -config GAMECUBE_NET - bool "GameCube Network Driver" - depends on NET_ETHERNET && GAMECUBE - ---help--- - GameCube Broadband Adapter 10/100 Ethernet support. +config GAMECUBE_BBA + bool "Nintendo GameCube BroadBand Adapter network driver" + depends on NET_ETHERNET && GAMECUBE && EXI + help + Nintendo GameCube Broadband Adapter 10/100 Ethernet support. config MACE tristate "MACE (Power Mac ethernet) support" Index: Makefile =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/net/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Makefile 19 Oct 2004 09:46:09 -0000 1.9 +++ Makefile 20 Oct 2004 00:01:17 -0000 1.10 @@ -182,7 +182,7 @@ obj-$(CONFIG_S2IO) += s2io.o obj-$(CONFIG_SMC91X) += smc91x.o obj-$(CONFIG_FEC_8XX) += fec_8xx/ -obj-$(CONFIG_GAMECUBE_NET) += gc-net.o +obj-$(CONFIG_GAMECUBE_BBA) += gcn-bba.o obj-$(CONFIG_ARM) += arm/ obj-$(CONFIG_NET_FC) += fc/ --- gc-net.c DELETED --- |