Re: [PATCH 15/37] sparc, sunzilog: Add console polling support for sunzilog serial driver
David Miller <[email protected]> Wed, 23 Dec 2009 14:00:46 -0800 (PST)
| Newsgroups | gmane.linux.kernel.debugging.kgdb.bugs,gmane.linux.kernel.debugging,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Jason Wessel <[email protected]> Date: Wed, 23 Dec 2009 15:54:53 -0600 > David Miller wrote: >> From: Jason Wessel <[email protected]> >> Date: Wed, 23 Dec 2009 15:19:28 -0600 >> >> >>> +static void sunzilog_put_poll_char(struct uart_port *port, >>> + unsigned char ch) >>> +{ >>> + struct uart_sunzilog_port *up = (struct uart_sunzilog_port *)port; >>> + >>> + sunzilog_putchar(&up->port, ch); >>> + udelay(2); >>> + >>> +} >>> +#endif /* CONFIG_CONSOLE_POLL */ >>> >> >> Just curious, what is the udelay() for? >> > > This was copied from zm.c driver. I don't think the HW needs it, I'll > retest and purge it. ... > Consider it done. Thanks. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev