Re: Newbie looking to figure out how to do a port!

der Mouse <[email protected]> Mon, 20 Feb 2006 05:12:21 -0500 (EST)
Newsgroups gmane.os.netbsd.devel.ports
Message-ID <[email protected]>
> #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	       [email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B