-#!/usr/bin/env python
+#!/usr/bin/python2
+
+# Copyright (c) 2003 Intel Corporation
+# All rights reserved.
+#
+# Copyright (c) 2004-2006 The Trustees of Princeton University
+# All rights reserved.
+
"""
The point of this small utility is to take a file in the format
if module == "mptbase":
module= "mptscsih"
+ # XXX ata_piix and ahci both claim the same chipsets, and it
+ # is usually a non-visible BIOS option that decides which is
+ # appropriate. Prefer ata_piix over ahci for now.
+ if module == "ahci":
+ module= "ata_piix"
+
try:
vendor_id= long(line_parts[1],16)
except ValueError, e: