mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 09:18:05 -04:00
adding max packet parts to device info width for linked cards and network cards
closes #2294
This commit is contained in:
parent
62e38f40df
commit
cad5026a5f
@ -34,7 +34,8 @@ class LinkedCard extends prefab.ManagedEnvironment with QuantumNetwork.QuantumNo
|
||||
DeviceAttribute.Description -> "Quantumnet controller",
|
||||
DeviceAttribute.Vendor -> Constants.DeviceInfo.DefaultVendor,
|
||||
DeviceAttribute.Product -> "HyperLink IV: Ender Edition",
|
||||
DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString
|
||||
DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString,
|
||||
DeviceAttribute.Width -> Settings.get.maxNetworkPacketParts
|
||||
)
|
||||
|
||||
override def getDeviceInfo: util.Map[String, String] = deviceInfo
|
||||
|
@ -48,7 +48,8 @@ class NetworkCard(val host: EnvironmentHost) extends prefab.ManagedEnvironment w
|
||||
DeviceAttribute.Description -> "Ethernet controller",
|
||||
DeviceAttribute.Vendor -> Constants.DeviceInfo.DefaultVendor,
|
||||
DeviceAttribute.Product -> "42i520 (MPN-01)",
|
||||
DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString
|
||||
DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString,
|
||||
DeviceAttribute.Width -> Settings.get.maxNetworkPacketParts
|
||||
)
|
||||
|
||||
override def getDeviceInfo: util.Map[String, String] = deviceInfo
|
||||
|
Loading…
x
Reference in New Issue
Block a user