-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-np' of git://git.wormnet.eu/alex/ts78xx into orion/…
…master
- Loading branch information
Showing
4 changed files
with
231 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#define FPGAID(_magic, _rev) ((_magic << 8) + _rev) | ||
|
||
/* | ||
* get yer id's from http://ts78xx.digriz.org.uk/ | ||
* do *not* make up your own or 'borrow' any! | ||
*/ | ||
enum fpga_ids { | ||
/* Technologic Systems */ | ||
TS7800_REV_B = FPGAID(0x00b480, 0x03), | ||
}; | ||
|
||
struct fpga_device { | ||
unsigned present:1; | ||
unsigned init:1; | ||
}; | ||
|
||
struct fpga_devices { | ||
/* Technologic Systems */ | ||
struct fpga_device ts_rtc; | ||
}; | ||
|
||
struct ts78xx_fpga_data { | ||
unsigned int id; | ||
int state; | ||
|
||
struct fpga_devices supports; | ||
}; |
Oops, something went wrong.