On Tue, Jan 08, 2008 at 08:48:35AM +0200, Thanasis wrote: > Is there a kernel driver that would make a NIC's port work as a RS232 > port, using the serial cables that are RJ45 on one side and DB9 or DB25 > on the other? Maybe null modem cables of that type ? Or for example > those used by cisco as console port cables? > > (or may be I'm dreaming ;-)
With a certain e.g. Freescale embedded communication processors that could be possible, as those have hardware that can do serial communication in many different bit patterns, and not being limited only on ethernets. However even they talk parallel MII protocol to Ethernet PHY, which then serializes the bitstream for transmit. Speeds are standard 10 and 100 Mbit/s, and electrical signals depend on wiring standard, probably isolated differential signals on twisted pairs. I don't think you can use any ethernet phy hardware for anything but ethernet frames. Even when you send bytes over MII, they are still just a bitstream needing MAC level processing to find correct alignments. You can, of course, talk ethernet protocol to remote serial port servers, but these days those systems talk TCP, which makes application programming all that much easier. Once upon a time I was talking to a group of telco engineers and said that "These Telco SDH ports are one of the reasons why bit communication is expensive. In the future things will go to optical ethernet interface, which is either carried over DWM lambdas for long hauls, or just dark fibers." Now it looks like I was right.. /Matti Aarnio -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/