a few tiny patches suggested

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear everyone,

maybe I'd like to suggest one or two slight changes to the serial subsytem.

1.) make struct uart_8250_port public, i.e. move it to some header file,
such as drivers/serial/8250.h or include/linux/serial_8250.h .
I need to access its "acr" member from my own translation unit
(for the purposes of 16C950 TEMT-based RS485 RX/TX steering).

2.) consider removing some unnecessary init stuff related to the 16C950
from 8250.c. It harms my 16C950 RX/TX steering setup, by resetting the
acr register and the acr member within the struct uart_8250_port.
See the attached small patch.
It also turns "struct uart_8250_port serial8250_ports[]" into a public symbol, 
to make the structs accessible from other translation units.

If you've read this far, thanks for your kind attention...

Frank Rysanek
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  8250.c.patch
     Date:  10 Jul 2007, 23:15
     Size:  931 bytes.
     Type:  Unknown

Attachment: 8250.c.patch
Description: Binary data


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux