Messages in this thread Patch in this message | | | From | Lord of the Files <> | Date | Mon, 8 Jun 1998 01:33:56 -0700 | Subject | Some ham radio linux-2.1.105 fixes |
| |
The following patches fixes a number of problems with the new ham radio support in linux-2.1.105:
o <linux/bitops.h> does not exist. It should be <asm/bitops.h>. o hweight{8,16,32} symbols are referenced by some of the sound modem code, so they should not be commented out.
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205 adam@yggdrasil.com \ / San Jose, California 95129-1034 +1 408 261-6630 | g g d r a s i l United States of America fax +1 408 261-6631 "Free Software For The Rest Of Us."
diff -r -u /tmp/linux-2.1.105/drivers/net/hamradio/baycom_epp.c linux/drivers/net/hamradio/baycom_epp.c --- /tmp/linux-2.1.105/drivers/net/hamradio/baycom_epp.c Sun Jun 7 11:13:45 1998 +++ linux/drivers/net/hamradio/baycom_epp.c Sun Jun 7 22:23:35 1998 @@ -46,7 +46,7 @@ #include <linux/in.h> #include <linux/string.h> #include <linux/parport.h> -#include <linux/bitops.h> +#include <asm/bitops.h> #include <linux/sched.h> #include <asm/system.h> #include <asm/io.h> diff -r -u /tmp/linux-2.1.105/drivers/net/hamradio/baycom_ser_fdx.c linux/drivers/net/hamradio/baycom_ser_fdx.c --- /tmp/linux-2.1.105/drivers/net/hamradio/baycom_ser_fdx.c Sun Jun 7 11:13:45 1998 +++ linux/drivers/net/hamradio/baycom_ser_fdx.c Sun Jun 7 19:47:17 1998 @@ -74,7 +74,7 @@ #include <linux/in.h> #include <linux/string.h> #include <linux/init.h> -#include <linux/bitops.h> +#include <asm/bitops.h> #include <asm/uaccess.h> #include <asm/system.h> #include <asm/io.h> diff -r -u /tmp/linux-2.1.105/drivers/net/hamradio/soundmodem/sm.h linux/drivers/net/hamradio/soundmodem/sm.h --- /tmp/linux-2.1.105/drivers/net/hamradio/soundmodem/sm.h Sun Jun 7 11:13:45 1998 +++ linux/drivers/net/hamradio/soundmodem/sm.h Sun Jun 7 22:29:57 1998 @@ -32,7 +32,7 @@ #include <linux/hdlcdrv.h> #include <linux/soundmodem.h> -#include <linux/bitops.h> +#include <asm/bitops.h> #define SM_DEBUG @@ -229,7 +229,6 @@ * ===================== utility functions =============================== */ -#if 0 extern inline unsigned int hweight32(unsigned int w) __attribute__ ((unused)); extern inline unsigned int hweight16(unsigned short w) @@ -260,8 +259,6 @@ res = (res & 0x33) + ((res >> 2) & 0x33); return (res & 0x0F) + ((res >> 4) & 0x0F); } - -#endif extern inline unsigned int gcd(unsigned int x, unsigned int y) __attribute__ ((unused)); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |