Koss, Mike (Mission Systems) wrote: > > Here's a snippet from a program I use to debug an ethernet driver that I > have using ioctl's. The ethernet ioctl interface is slightly different > from a "normal" ioctl in that it uses sockets and not a file descriptor. > The ioctl's I use are added to the ioctl interface in the driver, using > the defined device-specific range (that was supposed to disappear in > 2.5.x or 2.6.x). With this I read/write my phy register's to test out > the interface between my TEMAC and my PHY. > > Thanks for the example, everything working great now.
Kevin -- View this message in context: http://www.nabble.com/Xilinx-Temac-link-detect-tp15616042p15954121.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
