summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-03-24 15:26:00 +0000
committerAlin Năstac <mrness@gentoo.org>2005-03-24 15:26:00 +0000
commit81c621656dafd91069f5d96aa78a79c105b7e35d (patch)
tree62a20092c429978d321509f8102e23b67646ba48 /net-dialup/intel-536ep/files
parentMasked mmxext on SPARC since people don't know how to implement architecture ... (diff)
downloadgentoo-2-81c621656dafd91069f5d96aa78a79c105b7e35d.tar.gz
gentoo-2-81c621656dafd91069f5d96aa78a79c105b7e35d.tar.bz2
gentoo-2-81c621656dafd91069f5d96aa78a79c105b7e35d.zip
segfault on kernels >= 2.6.10 (#86331)
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dialup/intel-536ep/files')
-rw-r--r--net-dialup/intel-536ep/files/digest-intel-536ep-4.69-r11
-rw-r--r--net-dialup/intel-536ep/files/intel-536ep-4.69-kernel-2.6.10-tty.patch49
2 files changed, 50 insertions, 0 deletions
diff --git a/net-dialup/intel-536ep/files/digest-intel-536ep-4.69-r1 b/net-dialup/intel-536ep/files/digest-intel-536ep-4.69-r1
new file mode 100644
index 000000000000..6c5386a8fa70
--- /dev/null
+++ b/net-dialup/intel-536ep/files/digest-intel-536ep-4.69-r1
@@ -0,0 +1 @@
+MD5 20e690541d3b18bbc1b2c2f690bfbc6d intel-536ep-4.69.tgz 463347
diff --git a/net-dialup/intel-536ep/files/intel-536ep-4.69-kernel-2.6.10-tty.patch b/net-dialup/intel-536ep/files/intel-536ep-4.69-kernel-2.6.10-tty.patch
new file mode 100644
index 000000000000..24cc4ea19d00
--- /dev/null
+++ b/net-dialup/intel-536ep/files/intel-536ep-4.69-kernel-2.6.10-tty.patch
@@ -0,0 +1,49 @@
+--- coredrv/softserial.h.orig 2005-03-23 01:55:22.000000000 +0100
++++ coredrv/softserial.h 2005-03-23 01:55:49.000000000 +0100
+@@ -86,7 +86,7 @@
+ int softserial_open (struct tty_struct*, struct file*);
+ void softserial_put_char (struct tty_struct*, unsigned char);
+ void softserial_set_termios (struct tty_struct*, struct termios*);
+-int softserial_write (struct tty_struct*, int, const unsigned char*, int);
++int softserial_write (struct tty_struct*, const unsigned char*, int);
+ int softserial_ioctl (struct tty_struct*, struct file*, unsigned int, unsigned long);
+
+
+--- coredrv/softserial_io.c.orig 2005-03-23 01:56:46.000000000 +0100
++++ coredrv/softserial_io.c 2005-03-23 01:58:59.000000000 +0100
+@@ -55,7 +55,7 @@
+ //=============================================================================
+ static DECLARE_MUTEX(softserial_write_sem);
+ int softserial_write(struct tty_struct* ptty,
+- int from_user_space,
++ //int from_user_space,
+ const unsigned char* input_buffer,
+ int write_count_asked) //why is it a signed int?
+ {
+@@ -73,7 +73,7 @@
+ //printk("softserial:softserial_write()\n");
+ //printk("write: fus%d, count%d\n",from_user_space, write_count_asked);
+
+- if(from_user_space)
++ /*if(from_user_space)
+ {
+ down(&softserial_write_sem); //this may not be enough
+ while(write_count_asked - written_count > 0)
+@@ -107,7 +107,7 @@
+ up(&softserial_write_sem);
+ }
+ else //data is from kernel space
+- {
++ {*/
+ while(write_count_asked - written_count > 0)
+ {
+ softcore_space = G.softcore.write_free();
+@@ -127,7 +127,7 @@
+ input_buffer_ptr += copy_size;
+ written_count += copy_size;
+ }
+- }
++ /*}*/
+
+ return(written_count);
+ }