Hi Soren, >> The GPIO and LED controls on the net6501 is located in fixed IO >> space, accesses using the FPGA over the LPC bus: >> >> Red Error LED: I/O port 069C bit 0, 0=off, 1=on. >> Green Ready LED: I/O port 069D bit 0, 0=off, 1=on. >> >> I/O Port 0680 bit 15..0 gpio input >> 0684 bit 15..0 gpio output >> 0688 bit 15..0 gpio reset bit when '1' >> 068C bit 15..0 gpio set bit when '1' >> 0690 bit 15..0 gpio dir '0'=input, '1'=output
I want to write a linux leds driver for the net6501, assuming that nobody has already? I can't see one in linux-next. This region doesn't appear to be registered by any PCI device. Is it actually on the lpc_sch device? Or is the GPIO implemented by the Xilinx, and if so is that PCI addressable? Is there any way to detect that the LEDs are addressable at this range without poking into random I/O port registers and hoping that we don't format the user's hard disk if they load the driver on something that's not a net6501? Cheers, Chris. -- Aptivate | http://www.aptivate.org | Phone: +44 1223 967 838 Future Business, Cam City FC, Milton Rd, Cambridge, CB4 1UY, UK Aptivate is a not-for-profit company registered in England and Wales with company number 04980791. _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
