Re: [PATCH v2 4/4] m68k/atari: fix SCC initialization for debug console

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

 




On Tue, 27 May 2014, Michael Schmitz wrote:


Problem: bdtab_norm[] above specifies { CLK_RTxC, 24 } for 9600 baud. 
This doesn't make sense. Perhaps the logic in SCC_ioctl() in 
Atari_SCC.c fixes it up for speeds specified by the user? Who knows.
  

That ends up using time constant 10 and mode 16 as per your calculation 
for 3.67 MHz clock input - 9562 baud instead of the 9680 possible from 
the 8 MHz clock.

Yes, I see now. This code is confusing.

I might have misunderstood something - would really want to check that 
using a scope.

Both appear to work OK, so no matter really.

And besides, there's no need to change the baud rate until someone 
#defines USE_SCC_[AB] and then gets annoyed with 9600 baud.

-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux