BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mangoh-drivers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
mangoh-drivers
Commits
3e20e72d
Commit
3e20e72d
authored
Oct 30, 2017
by
David Frey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable the iot_slot module
parent
51287f7b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
iot-slot-core.c
linux_kernel_modules/iot_slot/iot-slot-core.c
+1
-1
iot-slot-eeprom.c
linux_kernel_modules/iot_slot/iot-slot-eeprom.c
+0
-1
mangOH_Red.sdef
mangOH_Red.sdef
+9
-6
No files found.
linux_kernel_modules/iot_slot/iot-slot-core.c
View file @
3e20e72d
...
...
@@ -103,7 +103,7 @@ static int iot_slot_enumerate(struct iot_slot *slot)
if
(
eeprom
==
NULL
)
{
dev_warn
(
device
,
"Card detected on IoT slot %d, but
no eeprom was
detected
\n
"
,
"Card detected on IoT slot %d, but
a valid eeprom was not
detected
\n
"
,
slot_index
);
goto
restore_card_detect
;
}
...
...
linux_kernel_modules/iot_slot/iot-slot-eeprom.c
View file @
3e20e72d
...
...
@@ -122,7 +122,6 @@ static inline uint8_t *to_eeprom_buffer(struct i2c_client *eeprom)
if
(
0xAA
!=
buffer
[
0
]
||
0x55
!=
buffer
[
1
])
{
dev_err
(
&
eeprom
->
dev
,
"Invalid header: %02x%02x.
\n
"
,
buffer
[
0
],
buffer
[
1
]);
BUG
();
return
NULL
;
}
return
buffer
;
...
...
mangOH_Red.sdef
View file @
3e20e72d
...
...
@@ -8,7 +8,10 @@
apps:
{
$MANGOH_ROOT/apps/GpioExpander/gpioExpanderService/gpioExpanderServiceRed
// gpioExpanderServiceRed conflicts with the iot_slot driver because the iot_slot driver makes
// use of the sx1509 gpio expander kernel driver whereas the gpio expander implements a driver
// in user space.
// $MANGOH_ROOT/apps/GpioExpander/gpioExpanderService/gpioExpanderServiceRed
$MANGOH_ROOT/apps/MqttClient/mqttClient
$MANGOH_ROOT/apps/DataRouter/dataRouter
...
...
@@ -68,12 +71,12 @@ kernelModules:
$MANGOH_ROOT/linux_kernel_modules/bmi160/3-bmi160
$MANGOH_ROOT/linux_kernel_modules/bmi160/4-bmi160-i2c
// Don't enable IoT slot driver until failure case testing is complete
// $MANGOH_ROOT/linux_kernel_modules/iot_slot/0-iot_slot
$MANGOH_ROOT/linux_kernel_modules/iot_slot/0-iot_slot
$MANGOH_ROOT/linux_kernel_modules/mt7697q/1-mt7697q
$MANGOH_ROOT/linux_kernel_modules/mt7697serial/1-mt7697serial
$MANGOH_ROOT/linux_kernel_modules/mt7697wifi/2-mt7697wifi_core
// Don't enable mt7697 drivers until the appropriate cfg80211 and mac80211 modules are avaialble
// $MANGOH_ROOT/linux_kernel_modules/mt7697q/1-mt7697q
// $MANGOH_ROOT/linux_kernel_modules/mt7697serial/1-mt7697serial
// $MANGOH_ROOT/linux_kernel_modules/mt7697wifi/2-mt7697wifi_core
// spisvc creates a spidev device which will appear as /dev/spidev0.0 once the spidev module is
// loaded.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment