History

rapidio: fix sysfs config attribute to access 16MB of maint space

Fixes sysfs config attribute to allow access to entire 16MB maintenance space of RapidIO devices.

Alexandre Bounine committed 15 years ago

Commit fe419471 parent 99b0d362 files · +9 −7Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/rio_regs.h+3−1
@@ -14,10 +14,12 @@ · 13 unmodified lines
1414 #define LINUX_RIO_REGS_H
1515
1616 /*
17− * In RapidIO, each device has a 2MB configuration space that is
17+ * In RapidIO, each device has a 16MB configuration space that is
1818 * accessed via maintenance transactions. Portions of configuration
1919 * space are standardized and/or reserved.
2020 */
21+#define RIO_MAINT_SPACE_SZ 0x1000000 /* 16MB of RapidIO mainenance space */
22+
2123 #define RIO_DEV_ID_CAR 0x00 /* [I] Device Identity CAR */
2224 #define RIO_DEV_INFO_CAR 0x04 /* [I] Device Information CAR */
2325 #define RIO_ASM_ID_CAR 0x08 /* [I] Assembly Identity CAR */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t