mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
Don't use htons, for compatibility with PCI :(
This commit is contained in:
@@ -98,9 +98,8 @@ int find_mca_device ( struct mca_device *mca, struct mca_driver *driver ) {
|
||||
if ( mca->dev ) {
|
||||
mca->dev->name = driver->name;
|
||||
mca->dev->devid.vendor_id =
|
||||
htons ( GENERIC_MCA_VENDOR );
|
||||
mca->dev->devid.device_id =
|
||||
htons ( id->id );
|
||||
GENERIC_MCA_VENDOR;
|
||||
mca->dev->devid.device_id = id->id;
|
||||
}
|
||||
mca->already_tried = 1;
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user