I have an Edimax BR-6104KPn linux version:
Linux version 2.6.24.2 (root@cent) (gcc version 4.1.2) #9 Sat Feb 23 14:33:13 G
MT 2008
console [early0] enabled
CPU revision is: 0001800b (MIPS 4Kc)
SoC      : ADM5120P revision 8, running at 175MHz
Bootdev  : NOR flash
Prom     : Generic

I installed two serial adapters and both UARTS are recognized:
Serial: AMBA driver $Revision: 1.41 $
APB:UART0: ttyS0 at MMIO 0x12600000 (irq = 9) is a AMBA
console handover: boot [early0] -> real [ttyS0]
APB:UART1: ttyS1 at MMIO 0x12800000 (irq = 10) is a AMBA

I enabled console login on both serial lines in /etc/inittab and both work!

However I need both ports for other purposes. Therefore I wrote a small program
to capture raw binary data on both ports - of couse I disabled the login in /etc/inittab!!
Here the init procdure
void init_serial ()
{
int n;
  fd = open(MODEMDEVICE, O_RDWR | O_NOCTTY );
  if (fd <0) {perror(MODEMDEVICE); exit(-1); }
  tcgetattr(fd,&oldtio); /* save current port settings */
  bzero(&newtio, sizeof(newtio));
  newtio.c_cflag = B9600 | CS8 | CLOCAL | CREAD;
  newtio.c_iflag = IGNPAR;
  newtio.c_oflag = 0;

  /* set input mode (non-canonical, no echo,...) */
  newtio.c_lflag = 0;

  newtio.c_cc[VTIME]    = 0;  /* inter-character timer unused */
  newtio.c_cc[VMIN]     = SERIAL_MIN; /* blocking read until 5 chars received */

...
The MODEMDEVICE is either /dev/ttyS0 or /dev/ttyS1.

Now my problem. The program works fine on ttyS0. It reads all data etc in binary mode ie
8bits. However if I try to read data from ttyS1 only 7Bits are received. The only change I do is to
set the MODEMDEVICE to /dev/ttyS1 in the programm
The output of stty -a is equal for both ports - except I do not understand why hupcl is set
whereas for ttyS0 is not set:

root@emi-midge:/# stty -a < /dev/ttyS1
speed 9600 baud; rows 24; columns 80;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

I checked the driver  file  amba-pl010.c in the kernel source but I did not find any unusual items.

So does somebody know what to do to receive also 8bits on the 2nd UART??