forked from genodelabs/genode
-
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 tag 'sculpt-19.07' into submodule
- Loading branch information
Showing
113 changed files
with
2,345 additions
and
3,843 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
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
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,34 @@ | ||
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c | ||
index 74664a6..38cc18a 100644 | ||
--- a/drivers/net/phy/phy_device.c | ||
+++ b/drivers/net/phy/phy_device.c | ||
@@ -944,7 +944,10 @@ EXPORT_SYMBOL(phy_attached_print); | ||
int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, | ||
u32 flags, phy_interface_t interface) | ||
{ | ||
+#if 0 | ||
+ /* 'driver' has not been set yet on Genode */ | ||
struct module *ndev_owner = dev->dev.parent->driver->owner; | ||
+#endif | ||
struct mii_bus *bus = phydev->mdio.bus; | ||
struct device *d = &phydev->mdio.dev; | ||
bool using_genphy = false; | ||
@@ -955,7 +958,7 @@ int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, | ||
* our own module->refcnt here, otherwise we would not be able to | ||
* unload later on. | ||
*/ | ||
- if (ndev_owner != bus->owner && !try_module_get(bus->owner)) { | ||
+ if (/*ndev_owner != bus->owner &&*/ !try_module_get(bus->owner)) { | ||
dev_err(&dev->dev, "failed to get the bus module\n"); | ||
return -EIO; | ||
} | ||
@@ -1060,7 +1063,9 @@ error_module_put: | ||
module_put(d->driver->owner); | ||
error_put_device: | ||
put_device(d); | ||
+#if 0 | ||
if (ndev_owner != bus->owner) | ||
+#endif | ||
module_put(bus->owner); | ||
return err; | ||
} |
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
|
||
Device drivers needed for scenarios | ||
using one network interface |
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,2 @@ | ||
_/src/fec_nic_drv | ||
_/raw/drivers_nic-imx7d_sabre |
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 @@ | ||
2019-07-08 22eb1f5c9d136d343223df400af544eff2bad931 |
4 changes: 4 additions & 0 deletions
4
repos/dde_linux/recipes/raw/drivers_nic-imx7d_sabre/content.mk
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,4 @@ | ||
content: drivers.config | ||
|
||
drivers.config: | ||
cp $(REP_DIR)/recipes/raw/drivers_nic-imx7d_sabre/$@ $@ |
31 changes: 31 additions & 0 deletions
31
repos/dde_linux/recipes/raw/drivers_nic-imx7d_sabre/drivers.config
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,31 @@ | ||
<config> | ||
<parent-provides> | ||
<service name="IRQ"/> | ||
<service name="IO_MEM"/> | ||
<service name="ROM"/> | ||
<service name="PD"/> | ||
<service name="RM"/> | ||
<service name="CPU"/> | ||
<service name="LOG"/> | ||
<service name="Timer"/> | ||
<service name="Gpio"/> | ||
</parent-provides> | ||
|
||
<default caps="100"/> | ||
|
||
<service name="Nic"> | ||
<default-policy> <child name="nic_drv"/> </default-policy> </service> | ||
|
||
<start name="nic_drv" caps="130"> | ||
<binary name="fec_nic_drv"/> | ||
<resource name="RAM" quantum="20M"/> | ||
<provides> <service name="Nic"/> </provides> | ||
<config> | ||
<!-- ENET1: IRQ 120 + 32 = 152 --> | ||
<card type="fsl,imx6sx-fec" mii="rgmii" irq="152" mmio="0x30be0000"/> | ||
<!-- ENET2: IRQ 102 + 32 = 134 --> | ||
<card type="fsl,imx6sx-fec" mii="rgmii" irq="134" mmio="0x30bf0000"/> | ||
</config> | ||
<route> <any-service> <parent/> </any-service> </route> | ||
</start> | ||
</config> |
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 @@ | ||
2019-06-27 583a26eccfd3241f727170f5d9451c9f2d55d3b4 |
Oops, something went wrong.