Greg, 

The customer is mounting the device now and I don't have the device to test 
anymore.  I cleaned up the rest and put in the recommended changes (I lost
the email but it was someone on this list - thanks).   

John  
--- Greg KH <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 25, 2003 at 11:08:51AM -0700, John Wright wrote:
> > Here is the Magtek Swipe Card Reader device driver.   I need a minor 
> > number. 
> 
> Hm, why?
> 
> It looks like you can talk to this device from userspace using
> libusb/usbfs, right?
> 
> And don't put my name alone on your driver, as I'm not the author of it
> anymore :)
> 
> Also, you have a lot of comments and functions from the usb-skeleton
> driver that do not need to be in your driver, try removing them.
> 
> thanks,
> 
> greg k-h
> 
> 

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
diff -urN -X dontdiff linux-2.4.22-vanilla/Documentation/usb/magtek.txt linux-2.4.22/Documentation/usb/magtek.txt
--- linux-2.4.22-vanilla/Documentation/usb/magtek.txt	1969-12-31 19:00:00.000000000 -0500
+++ linux-2.4.22/Documentation/usb/magtek.txt	2003-10-25 08:04:47.000000000 -0400
@@ -0,0 +1,12 @@
+	MagTek Swipe Card Reader USB kernel driver
+	==========================================
+
+What is it? What can I do with it?
+==================================
+The MagTek Swipe Card Reader USB kernel driver connects your linux 2.4.x
+system to the MagTek Swipe Card Reader usb-enabled devices.
+
+You may create the devices with:
+	mknod -m 666 /dev/usb/magtek0 c 180 200
+	mknod -m 666 /dev/usb/magtek1 c 180 201
+
diff -urN -X dontdiff linux-2.4.22-vanilla/drivers/usb/Config.in linux-2.4.22/drivers/usb/Config.in
--- linux-2.4.22-vanilla/drivers/usb/Config.in	2003-08-25 07:44:42.000000000 -0400
+++ linux-2.4.22/drivers/usb/Config.in	2003-10-25 07:59:48.000000000 -0400
@@ -106,6 +106,7 @@
    dep_tristate '  Texas Instruments Graph Link USB (aka SilverLink) cable support' CONFIG_USB_TIGL $CONFIG_USB
    dep_tristate '  Tieman Voyager USB Braille display support (EXPERIMENTAL)' CONFIG_USB_BRLVGER $CONFIG_USB $CONFIG_EXPERIMENTAL
    dep_tristate '  USB LCD device support' CONFIG_USB_LCD $CONFIG_USB
+   dep_tristate '  USB MagTek Swipe Card Reader device support' CONFIG_USB_MAGTEK $CONFIG_INPUT
    if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
       dep_tristate '  Alcatel Speedtouch USB support' CONFIG_USB_SPEEDTOUCH $CONFIG_ATM $CONFIG_USB
    fi
diff -urN -X dontdiff linux-2.4.22-vanilla/drivers/usb/hid-core.c linux-2.4.22/drivers/usb/hid-core.c
--- linux-2.4.22-vanilla/drivers/usb/hid-core.c	2003-08-25 07:44:42.000000000 -0400
+++ linux-2.4.22/drivers/usb/hid-core.c	2003-11-02 16:32:45.000000000 -0500
@@ -1182,6 +1182,9 @@
 #define USB_VENDOR_ID_MGE		0x0463
 #define USB_DEVICE_ID_MGE_UPS		0xffff
 #define USB_DEVICE_ID_MGE_UPS1		0x0001
+
+#define USB_VENDOR_ID_MAGTEK		0x0801
+#define USB_PRODUCT_ID_MAGTEK		0x0002
  
 struct hid_blacklist {
 	__u16 idVendor;
@@ -1237,6 +1240,7 @@
 	{ USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_MGE, USB_DEVICE_ID_MGE_UPS, HID_QUIRK_HIDDEV },
 	{ USB_VENDOR_ID_MGE, USB_DEVICE_ID_MGE_UPS1, HID_QUIRK_HIDDEV },
+	{ USB_VENDOR_ID_MAGTEK, USB_PRODUCT_ID_MAGTEK, HID_QUIRK_IGNORE },
 	{ 0, 0 }
 };
 
diff -urN -X dontdiff linux-2.4.22-vanilla/drivers/usb/magtek.c linux-2.4.22/drivers/usb/magtek.c
--- linux-2.4.22-vanilla/drivers/usb/magtek.c	1969-12-31 19:00:00.000000000 -0500
+++ linux-2.4.22/drivers/usb/magtek.c	2003-11-02 14:40:44.000000000 -0500
@@ -0,0 +1,596 @@
+/*
+ * USB Magtek Swipe Reader Device Driver
+ *
+ * Created by Shawn Campbell ([EMAIL PROTECTED]) from the usb-skeleton
+ * this driver.
+ *
+ *
+ * TODO:
+ *	- fix urb->status race condition in write sequence
+ *	- move minor_table to a dynamic list.
+ *
+ * History:
+ *
+ * 2003_09_30 - 0.7 - fix licking problem.  Cleanup.
+ * 2001_11_05 - 0.6 - fix minor locking problem in skel_disconnect.
+ * 2001_09_04 - 0.5 - fix devfs bug in skel_disconnect. Thanks to wim delvaux
+ * 2001_08_21 - 0.4 - more small bug fixes.
+ * 2001_05_29 - 0.3 - more bug fixes based on review from linux-usb-devel
+ * 2001_05_24 - 0.2 - bug fixes based on review from linux-usb-devel people
+ * 2001_05_01 - 0.1 - first version
+ * 
+ * My linux device driver provides access to the swipe devices via major number
+ * 180, minor numbers 200, 201, ...  I use the miscellaneous device driver range.
+ *         
+ */
+
+#include <linux/config.h>
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/signal.h>
+#include <linux/errno.h>
+#include <linux/poll.h>
+#include <linux/init.h>
+#include <linux/slab.h>
+#include <linux/fcntl.h>
+#include <linux/module.h>
+#include <linux/spinlock.h>
+#include <linux/list.h>
+#include <linux/smp_lock.h>
+#include <linux/devfs_fs_kernel.h>
+#include <linux/usb.h>
+
+#ifdef CONFIG_USB_DEBUG
+	static int debug = 1;
+#else
+	static int debug = 0;
+#endif
+
+/* Use our own dbg macro */
+#undef dbg
+#define dbg(format, arg...) do { if (debug) printk(KERN_DEBUG __FILE__ ": " format "\n" , ## arg); } while (0)
+
+
+/* Version Information */
+#define DRIVER_VERSION "v0.1"
+#define DRIVER_AUTHOR "Greg Kroah-Hartman, [EMAIL PROTECTED]"
+#define DRIVER_DESC "USB Magtek Swipe Reader"
+
+/* Module paramaters */
+MODULE_PARM(debug, "i");
+MODULE_PARM_DESC(debug, "Debug enabled or not");
+
+
+/* Define these values to match your device */
+#define USB_MAGTEK_VENDOR_ID	0x0801
+#define USB_MAGTEK_PRODUCT_ID	0x0002
+
+/* This character should never appear in a report from the device
+ * The character is used to decide where one report ends and
+ * begins. 
+*/
+static const char USB_NEW_REPORT = 255;
+
+/* table of devices that work with this driver */
+static struct usb_device_id magtek_table [] = {
+	{ USB_DEVICE(USB_MAGTEK_VENDOR_ID, USB_MAGTEK_PRODUCT_ID) },
+	{ }					/* Terminating entry */
+};
+
+MODULE_DEVICE_TABLE (usb, magtek_table);
+
+
+/* Get a minor range for your devices from the usb maintainer */
+#define USB_MAGTEK_MINOR_BASE	200	
+
+/* we can have up to this number of device plugged in at once */
+#define MAX_DEVICES		16
+
+/* define alpha/beta buffer size */
+#define USB_ALPHA_BUFFER_SIZE 64
+#define USB_BETA_BUFFER_SIZE 512
+
+/* Structure to hold all of our device specific stuff */
+struct usb_magtek {
+	struct usb_device *	udev;					/* save off the usb device pointer */
+	devfs_handle_t		devfs;					/* devfs device node */
+	unsigned char		minor;					/* the starting minor number for this device */
+
+	unsigned char 		alpha_buffer[USB_ALPHA_BUFFER_SIZE];	/* the buffer to receive data from the device */
+	unsigned char		beta_buffer[USB_BETA_BUFFER_SIZE];	/* ship to process buffer */
+	int			data_size;				/* size of the data in the buffer */	
+	int 			packet_size;				/* size of the packets returned by usb device */
+	struct urb*		urb;					/* urb for this device */
+
+	int			report_flag;				/* full report present? */
+	int			open_count;				/* number of times this port has been opened */
+	int			disconnect_flag;			/* flag to wake up on disconnect */
+	spinlock_t	lock;			/* locks this structure */
+
+};
+
+
+/* the global usb devfs handle */
+extern devfs_handle_t usb_devfs_handle;
+
+
+/* local function prototypes */
+static ssize_t magtek_read	(struct file *file, char *buffer, size_t count, loff_t *ppos);
+static int magtek_ioctl		(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg);
+static int magtek_open		(struct inode *inode, struct file *file);
+static int magtek_release	(struct inode *inode, struct file *file);
+	
+static void * magtek_probe	(struct usb_device *dev, unsigned int ifnum, const struct usb_device_id *id);
+static void magtek_disconnect	(struct usb_device *dev, void *ptr);
+static void magtek_irq		(struct urb *urb);
+
+/* array of pointers to our devices that are currently connected */
+static struct usb_magtek	*minor_table[MAX_DEVICES];
+
+/* lock to protect the minor_table structure */
+static DECLARE_MUTEX (minor_table_mutex);
+
+/* declare a wait queue */
+static DECLARE_WAIT_QUEUE_HEAD(queue);
+
+/*
+ * File operations needed when we register this driver.
+ */
+static struct file_operations magtek_fops = {
+	owner:		THIS_MODULE,
+
+	read:		magtek_read,
+	ioctl:		magtek_ioctl,
+	open:		magtek_open,
+	release:	magtek_release,
+};      
+
+
+/* register magtek driver with the usb subsystem */
+static struct usb_driver magtek_driver = {
+	name:		"magtek",
+	probe:		magtek_probe,
+	disconnect:	magtek_disconnect,
+	fops:		&magtek_fops,
+	minor:		USB_MAGTEK_MINOR_BASE,
+	id_table:	magtek_table,
+};
+
+/**
+ * 	magtek_irq
+ */
+static void magtek_irq(struct urb* urb)
+{
+	struct usb_magtek* priv = urb->context;
+	
+	if(urb->status != USB_ST_NOERROR) return;
+	if(urb->actual_length < 0) return;
+	
+	spin_lock(&priv->lock);
+	
+	/* previous report cleared? */
+	if(priv->report_flag) {
+		priv->report_flag=0;
+		priv->data_size=0;
+		err("Lost a report!");
+	}
+	
+	/* check for buffer overflow */
+	/* NOTE:  Increase USB_BETA_BUFFER_SIZE to equal or exceed your report size */
+	else if((priv->data_size + urb->actual_length) > USB_BETA_BUFFER_SIZE) {
+		/* data too big */
+		err("Beta Buffer Overflow!");
+		priv->data_size=0;
+		spin_unlock(&priv->lock);
+		return;
+	}
+	
+	/* copy report fragment */
+	memcpy(priv->beta_buffer+priv->data_size,priv->alpha_buffer,urb->actual_length);
+	priv->data_size = priv->data_size + urb->actual_length;
+	
+	/* notify any processes */
+	if(urb->actual_length <= priv->packet_size) {
+		priv->report_flag=1;
+		wake_up_interruptible(&queue);
+	}
+		
+	spin_unlock(&priv->lock);
+}
+
+/**
+ *	magtek_open
+ */
+static int magtek_open (struct inode *inode, struct file *file)
+{
+	struct usb_magtek *dev = NULL;
+	int subminor;
+	
+	subminor = MINOR (inode->i_rdev) - USB_MAGTEK_MINOR_BASE;
+	if ((subminor < 0) ||
+	    (subminor >= MAX_DEVICES)) {
+		return -ENODEV;
+	}
+
+	/* lock our minor table and get our local data for this minor */
+	down (&minor_table_mutex);
+	dev = minor_table[subminor];
+	if (dev == NULL) {
+		up (&minor_table_mutex);
+		return -ENODEV;
+	}
+
+	/* lock this device */
+	spin_lock(&dev->lock);
+
+	/* unlock the minor table */
+	up (&minor_table_mutex);
+
+	if(dev->open_count) {
+		/* device already open by another process */
+		spin_unlock(&dev->lock);
+		return -EBUSY;
+	}
+
+	/* increment our usage count for the driver */
+	++dev->open_count;
+
+	/* save our object in the file's private structure */
+	file->private_data = dev;
+
+	/* unlock this device */
+	spin_unlock(&dev->lock);
+
+	return 0;
+}
+
+
+/**
+ *	magtek_release
+ */
+static int magtek_release (struct inode *inode, struct file *file)
+{
+	struct usb_magtek *dev;
+	int retval = 0;
+
+	dev = (struct usb_magtek *)file->private_data;
+	if (dev == NULL) {
+		if(debug) dbg (__FUNCTION__ " - object is NULL");
+		return -ENODEV;
+	}
+
+	if(debug) dbg(__FUNCTION__ " - minor %d", dev->minor);
+
+	/* lock our minor table */
+	down (&minor_table_mutex);
+
+	/* lock our device */
+	spin_lock (&dev->lock);
+
+	if (dev->open_count <= 0) {
+		if(debug) dbg (__FUNCTION__ " - device not opened");
+		retval = -ENODEV;
+		goto exit_not_opened;
+	}
+
+	if (dev->udev == NULL) {
+		/* the device was unplugged before the file was released */
+		if(dev->urb) kfree(dev);
+		retval = -ENODEV;
+	}
+	else {
+		/* decrement our usage count for the device */
+		--dev->open_count;
+	}
+
+
+exit_not_opened:
+	spin_unlock (&dev->lock);
+	up (&minor_table_mutex);
+
+	return retval;
+}
+
+
+/**
+ *	magtek_read
+ */
+static ssize_t magtek_read (struct file *file, char *buffer, size_t count, loff_t *ppos)
+{
+	struct usb_magtek *dev;
+	unsigned long flags;
+	ssize_t size;
+	
+	/* any non-zero seek is invalid */
+	if(*ppos) return -ESPIPE;
+	
+	/* buffer too small */
+	if(count < 1) return -EFAULT;
+	
+	dev = (struct usb_magtek *)file->private_data;
+	
+	if(debug) dbg(__FUNCTION__ " - ppos %d, minor %d, count = %d", (int)(*ppos), dev->minor, count);
+
+	/* lock this object */
+	spin_lock_irqsave(&dev->lock,flags);
+
+	/* verify that the device wasn't unplugged */
+	if (dev->udev == NULL) {
+		spin_unlock_irqrestore (&dev->lock,flags);
+		return -ENODEV;
+	}
+	
+	/* unlock this object */
+	spin_unlock_irqrestore(&dev->lock,flags);
+		
+	/* sleep until data or signal */
+	if(wait_event_interruptible(queue, dev->report_flag || dev->disconnect_flag)) return -EINTR;
+	
+	/* was device disconnected? */
+	if(dev->disconnect_flag) return -EIO;
+
+	
+	/* ensure that only the correct number of bytes are copied back */
+	spin_lock_irqsave(&dev->lock,flags);
+		
+	if(((ssize_t)dev->data_size < (ssize_t)count)) { 
+		/* normal */
+		size=(ssize_t)dev->data_size;
+	}	
+	else { 
+		/* too much data, data lost */
+		err("Data was lost!");
+		size=(ssize_t)count;
+	}
+	
+	spin_unlock_irqrestore(&dev->lock,flags);
+	
+	/* copy data to userspace */
+	if (copy_to_user (buffer, dev->beta_buffer, (unsigned long)size))
+	{	
+		return -EFAULT;
+	}
+		
+	spin_lock_irqsave(&dev->lock,flags);
+	
+	dev->data_size=0; /* mark the buffer as empty */
+	dev->report_flag=0; /* indicate that reported was received */
+	
+	/* unlock the device */
+	spin_unlock_irqrestore (&dev->lock,flags);
+		
+	return size;	
+}
+
+/**
+ * magtek_ioctl
+ */
+static int magtek_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	struct usb_magtek *dev;
+	unsigned long flags;
+	
+	dev = (struct usb_magtek *)file->private_data;
+
+	/* lock this object */
+	spin_lock_irqsave (&dev->lock,flags);
+
+	/* verify that the device wasn't unplugged */
+	if (dev->udev == NULL) {
+		spin_unlock_irqrestore (&dev->lock,flags);
+		return -ENODEV;
+	}
+
+	if(debug) dbg(__FUNCTION__ " - minor %d, cmd 0x%.4x, arg %ld", 
+	    dev->minor, cmd, arg);
+
+
+	/* fill in your device specific stuff here */
+	
+	/* unlock the device */
+	spin_unlock_irqrestore (&dev->lock,flags);
+	
+	/* return that we did not understand this ioctl call */
+	return -ENOTTY;
+}
+
+
+/**
+ *	magtek_probe
+ */
+static void * magtek_probe(struct usb_device *udev, unsigned int ifnum, const struct usb_device_id *id)
+{
+	struct usb_magtek *dev = NULL;
+	struct usb_interface *interface;
+	struct usb_interface_descriptor *iface_desc;
+	struct usb_endpoint_descriptor *endpoint;
+	int minor;
+	int i;
+	char name[10];
+	int pipe, maxp;
+		
+	/* See if the device offered us matches what we can accept */
+	if ((udev->descriptor.idVendor != USB_MAGTEK_VENDOR_ID) ||
+	    (udev->descriptor.idProduct != USB_MAGTEK_PRODUCT_ID)) {
+		return NULL;
+	}
+
+	/* select a "subminor" number (part of a minor number) */
+	down (&minor_table_mutex);
+	for (minor = 0; minor < MAX_DEVICES; ++minor) {
+		if (minor_table[minor] == NULL)
+			break;
+	}
+	if (minor >= MAX_DEVICES) {
+		info ("Too many devices plugged in, can not handle this device.");
+		up(&minor_table_mutex);
+		return NULL;
+	}
+
+	/* allocate memory for our device state and intialize it */
+	dev = kmalloc (sizeof(struct usb_magtek), GFP_KERNEL);
+	if (dev == NULL) {
+		err ("Out of memory");
+		up(&minor_table_mutex);
+		return NULL;
+	}
+
+	/* zero the data structure (note:  dev->data is set to zero here) */
+	memset(dev,0,sizeof(struct usb_magtek));
+
+	spin_lock_init(&dev->lock);
+	interface = &udev->actconfig->interface[ifnum];
+
+	/* setup device specific data structure */
+	dev->udev = udev;
+	/* dev->interface = interface; */
+	dev->minor = minor;
+
+	/* set up the endpoint information */
+	/* check out the endpoints */
+	iface_desc = &interface->altsetting[0];
+	for (i = 0; i < iface_desc->bNumEndpoints; ++i) {
+		endpoint = &iface_desc->endpoint[i];
+
+		if ((endpoint->bEndpointAddress & 0x80) && ((endpoint->bmAttributes & 3) == 0x03)) 
+			break; /* we found an interrupt in endpoint */
+	}
+	if(i>=iface_desc->bNumEndpoints){
+		info("No supported endpoints found.");
+		up(&minor_table_mutex);
+		kfree(dev);
+		return NULL;
+	}
+	
+	/* initialize the devfs node for this device and register it */
+	sprintf(name, "magtek%d", dev->minor);
+	
+	dev->devfs = devfs_register (usb_devfs_handle, name,
+				     DEVFS_FL_DEFAULT, USB_MAJOR,
+				     USB_MAGTEK_MINOR_BASE + dev->minor,
+				     S_IFCHR | S_IRUSR | S_IWUSR | 
+				     S_IRGRP | S_IWGRP | S_IROTH, 
+				     &magtek_fops, NULL);
+
+	/* let the user know what node this device is now attached to */
+	info ("USB Magtek Swipe Reader device now attached to USBMagtek%d", dev->minor);
+	
+	/* submit a urb */
+	/* allocate and zero the device urb */
+	dev->urb=kmalloc(sizeof(struct urb), GFP_KERNEL);
+	if(dev->urb == NULL) { 
+		err("Out of memory");
+		kfree(dev);
+		up(&minor_table_mutex);
+		return NULL;
+	}
+	memset(dev->urb, 0, sizeof(struct urb));
+
+	/* fill the URB data structure */
+	pipe=usb_rcvintpipe(dev->udev, endpoint->bEndpointAddress);
+	maxp = usb_maxpacket(dev->udev, pipe, usb_pipeout(pipe));
+
+	usb_fill_int_urb(dev->urb, dev->udev, pipe, dev->alpha_buffer, maxp > USB_ALPHA_BUFFER_SIZE ? USB_ALPHA_BUFFER_SIZE : maxp, magtek_irq, dev, endpoint->bInterval);
+
+	/* register the URB within the USB subsystem */
+	if (usb_submit_urb(dev->urb)) {
+		kfree(dev->urb);
+		kfree(dev);
+		up(&minor_table_mutex);
+		return NULL;
+	}
+		
+	dev->packet_size = maxp > USB_ALPHA_BUFFER_SIZE ? USB_ALPHA_BUFFER_SIZE : maxp;
+	dev->disconnect_flag=0;
+	dev->report_flag=0; /* not a full report */
+	
+	minor_table[minor] = dev;
+	up(&minor_table_mutex);
+	return dev;
+}
+
+
+/**
+ *	magtek_disconnect
+ */
+static void magtek_disconnect(struct usb_device *udev, void *ptr)
+{
+	struct usb_magtek *dev;
+	int minor;
+	unsigned long flags;
+	
+	dev = (struct usb_magtek *)ptr;
+	
+	spin_lock_irqsave (&dev->lock,flags);
+		
+	minor = dev->minor;
+
+	/* remove our devfs node */
+	devfs_unregister(dev->devfs);
+
+	spin_unlock_irqrestore (&dev->lock,flags);
+	
+	if(dev->urb != NULL) usb_unlink_urb(dev->urb);
+
+	spin_lock_irqsave (&dev->lock,flags);
+	
+	/* if the device is not opened, then we clean up right now */
+	if (!dev->open_count) {
+		kfree(dev);
+		down(&minor_table_mutex);
+		minor_table[dev->minor]=NULL;
+		up(&minor_table_mutex);
+		spin_unlock_irqrestore(&dev->lock,flags);
+		info("USB Magtek Swipe Reader #%d now disconnected", minor);
+	} else {
+		dev->udev = NULL;
+		down(&minor_table_mutex);
+		minor_table[dev->minor]=NULL;
+		up (&minor_table_mutex);
+		spin_unlock_irqrestore (&dev->lock,flags);
+		info("USB Magtek Swipe Reader #%d now disconnected", minor);
+		dev->disconnect_flag=1;
+		wake_up_interruptible(&queue);
+	}
+	
+}
+
+
+
+/**
+ *	usb_magtek_init
+ */
+static int __init usb_magtek_init(void)
+{
+	int result;
+
+	/* register this driver with the USB subsystem */
+	result = usb_register(&magtek_driver);
+	if (result < 0) {
+		err("usb_register failed for the "__FILE__" driver. Error number %d",
+		    result);
+		return -1;
+	}
+
+	info(DRIVER_DESC " " DRIVER_VERSION);
+	return 0;
+}
+
+
+/**
+ *	usb_magtek_exit
+ */
+static void __exit usb_magtek_exit(void)
+{
+	/* deregister this driver with the USB subsystem */
+	usb_deregister(&magtek_driver);
+}
+
+
+module_init (usb_magtek_init);
+module_exit (usb_magtek_exit);
+
+MODULE_AUTHOR(DRIVER_AUTHOR);
+MODULE_DESCRIPTION(DRIVER_DESC);
+MODULE_LICENSE("GPL");
+
diff -urN -X dontdiff linux-2.4.22-vanilla/drivers/usb/Makefile linux-2.4.22/drivers/usb/Makefile
--- linux-2.4.22-vanilla/drivers/usb/Makefile	2003-08-25 07:44:42.000000000 -0400
+++ linux-2.4.22/drivers/usb/Makefile	2003-10-25 07:58:36.000000000 -0400
@@ -119,6 +119,7 @@
 obj-$(CONFIG_USB_BRLVGER)	+= brlvger.o
 obj-$(CONFIG_USB_LCD)		+= usblcd.o
 obj-$(CONFIG_USB_SPEEDTOUCH)	+= speedtch.o
+obj-$(CONFIG_USB_MAGTEK)	+= magtek.o
 
 # Object files in subdirectories
 mod-subdirs	:= serial host

Reply via email to