Subject: Re: Newbie looking to figure out how to do a port!
To: None <tech-ports@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-ports
Date: 02/20/2006 05:12:21
> #define BASE_BAUD (((400*1000000)/((0x3C>>1)+1))/16)

> What I don't get is...

> Why would anyone write "/31" as "/((0x3C>>1)+1)"?

Perhaps because it more closely mirrors the way some external document
specifies something?  I've seen such things often enough.

After all, why would anyone write 12903225 as (400*1000000)/31, either?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B