speedtch usbatm.c,NONE,1.1 Makefile,1.7,1.8
Duncan Sands
duncan at infradead.org
Wed Jan 12 16:16:43 EST 2005
Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv13837
Modified Files:
Makefile
Added Files:
usbatm.c
Log Message:
Playing around with a different way of organising things (like usbnet).
It doesn't do anything so far, is completely unfinished, but at least it compiles!
--- NEW FILE usbatm.c ---
/******************************************************************************
* usb_atm.c - Generic USB xDSL driver core
*
* Copyright (C) 2001, Alcatel
* Copyright (C) 2003, Duncan Sands, SolNegro, Josep Comas
* Copyright (C) 2004, David Woodhouse
*
* 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
[...1248 lines suppressed...]
** debug **
************/
#ifdef VERBOSE_DEBUG
static int udsl_print_packet(const unsigned char *data, int len)
{
unsigned char buffer[256];
int i = 0, j = 0;
for (i = 0; i < len;) {
buffer[0] = '\0';
sprintf(buffer, "%.3d :", i);
for (j = 0; (j < 16) && (i < len); j++, i++) {
sprintf(buffer, "%s %2.2x", buffer, data[i]);
}
dbg("%s", buffer);
}
return i;
}
#endif
Index: Makefile
===================================================================
RCS file: /home/cvs/speedtch/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Makefile 29 Dec 2004 21:16:14 -0000 1.7
+++ Makefile 12 Jan 2005 21:16:39 -0000 1.8
@@ -4,7 +4,7 @@
FIRMWARE_EXTRACTOR := firmware
-obj-m := cxacru.o speedtch.o usb_atm.o
+obj-m := cxacru.o speedtch.o usb_atm.o usbatm.o
all help modules modules_install:
$(MAKE) -C $(KERNELDIR) M=$(PWD) $(filter-out all,$(MAKECMDGOALS)) EXTRA_CFLAGS=-DDEBUG
More information about the Usbatm-commits
mailing list