From 4ae83f28f2d73a6371fc17c83dfe945e441f5460 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 13 Apr 2005 12:15:14 +0000 Subject: [PATCH] Don't use htons, for compatibility with PCI :( --- src/drivers/bus/mca.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/drivers/bus/mca.c b/src/drivers/bus/mca.c index 101bd468..28b99f77 100644 --- a/src/drivers/bus/mca.c +++ b/src/drivers/bus/mca.c @@ -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;