Don't use htons, for compatibility with PCI :(
authorMichael Brown <mcb30@etherboot.org>
Wed, 13 Apr 2005 12:15:14 +0000 (12:15 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 13 Apr 2005 12:15:14 +0000 (12:15 +0000)
src/drivers/bus/mca.c

index 101bd46..28b99f7 100644 (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;