To: | |
---|---|
Subject: | Re: [ts-7000] Ethernet power on-off from an application |
From: | "Jesse Off" <> |
Date: | Wed, 13 Apr 2005 10:38:36 -0700 |
The PHY power up/down pin is attached to GPIO port H on the EP9302. You have to set the data-direction-register for that bit to 'b1 and then write to the data-register a 'b0 to that bit. i.e. #define PHDDR 0x80840044 #define PHDR 0x80840040 // Turn off PHY POKE32(PHDDR, 0x4); POKE32(PHDR, 0x0); To do this from userspace, you'll have to mmap the /dev/mem device. You'll want to mmap at 0x80840000 offset since you can only mmap on page boundaries. //Jesse Off |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: Ethernet power on-off from an application, nagi_kann |
---|---|
Next by Date: | [ts-7000] Copy to bigger CF Card, bozemanmt25 |
Previous by Thread: | [ts-7000] Re: Ethernet power on-off from an application, nagi_kann |
Next by Thread: | Re: [ts-7000] Ethernet power on-off from an application, Jim Jackson |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU