Author: jhb Date: Wed Dec 30 19:42:27 2009 New Revision: 201275 URL: http://svn.freebsd.org/changeset/base/201275
Log: Use a constant instead of a magic number for the flag that enables decoding of a device ROM. Modified: head/sys/dev/mpt/mpt_pci.c Modified: head/sys/dev/mpt/mpt_pci.c ============================================================================== --- head/sys/dev/mpt/mpt_pci.c Wed Dec 30 19:38:57 2009 (r201274) +++ head/sys/dev/mpt/mpt_pci.c Wed Dec 30 19:42:27 2009 (r201275) @@ -485,7 +485,7 @@ mpt_pci_attach(device_t dev) * Make sure we've disabled the ROM. */ data = pci_read_config(dev, PCIR_BIOS, 4); - data &= ~1; + data &= ~PCIM_BIOS_ENABLE; pci_write_config(dev, PCIR_BIOS, data, 4); /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"