2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 07:11:32 +00:00

Don't use htons, for compatibility with PCI :(

This commit is contained in:
Michael Brown 2005-04-13 12:15:14 +00:00
parent 4ecbc63296
commit 4ae83f28f2

View File

@ -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;