Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54198 Details for
Bug 86331
Segmentation fault when running wvdial using intel-536ep drivers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches the tty to work in >=2.6.10
intel-536ep-4.69-kernel-2.6.10-tty.patch (text/plain), 1.87 KB, created by
Markus Gothe
on 2005-03-22 17:24:50 UTC
(
hide
)
Description:
Patches the tty to work in >=2.6.10
Filename:
MIME Type:
Creator:
Markus Gothe
Created:
2005-03-22 17:24:50 UTC
Size:
1.87 KB
patch
obsolete
>--- 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); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 86331
:
54197
| 54198