mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 09:01:24 +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 ) {
|
if ( mca->dev ) {
|
||||||
mca->dev->name = driver->name;
|
mca->dev->name = driver->name;
|
||||||
mca->dev->devid.vendor_id =
|
mca->dev->devid.vendor_id =
|
||||||
htons ( GENERIC_MCA_VENDOR );
|
GENERIC_MCA_VENDOR;
|
||||||
mca->dev->devid.device_id =
|
mca->dev->devid.device_id = id->id;
|
||||||
htons ( id->id );
|
|
||||||
}
|
}
|
||||||
mca->already_tried = 1;
|
mca->already_tried = 1;
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user