xref: /illumos-gate/usr/src/data/hwdata/efi.fixes (revision 5e832498d1743a9c84b5f53b983c9f469290b34b)
1# This file contains definitions of systems which are known to have problems
2# booting from an EFI/GPT partitioned disk, and the workaround. It is used
3# by libefi to change the way in which the protective master-boot-record (PMBR)
4# is written to the disk when the EFI label changes.
5
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9# 1. Redistributions of source code must retain the above copyright
10#    notice, this list of conditions and the following disclaimer.
11# 2. Redistributions in binary form must reproduce the above copyright
12#    notice, this list of conditions and the following disclaimer in the
13#    documentation and/or other materials provided with the distribution.
14#
15# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25# SUCH DAMAGE.
26
27# Copyright (c) 2016 Allan Jude <allanjude@freebsd.org>
28# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
29
30# Each line consists of a number of whitespace delimited name=value pairs
31# which define conditions for the host system which are matched against values
32# in SMBIOS tables. These are followed by actions to take if the host system
33# matches; more than one action can be specified.
34#
35# Conditions:
36#  From the SMB_TYPE_SYSTEM table (`smbios -t SMB_TYPE_SYSTEM`)
37#	sys.manufacturer
38#	sys.product
39#	sys.version
40#  From the SMB_TYPE_BASEBOARD table (`smbios -t SMB_TYPE_BASEBOARD`)
41#	mb.manufacturer
42#	mb.product
43#	mb.version
44#
45# Actions:
46#	pmbr_slot=n     0 <= n <= 3     (default 0)
47#		Place the EFI partition entry into slot n in the PMBR
48#	pmbr_active=n   0 <= n <= 1     (default 0)
49#		Mark the EFI partition as active within the PMBR
50
51# References:
52#   https://lists.freebsd.org/pipermail/freebsd-i386/2013-March/010437.html
53#   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194359
54
55sys.manufacturer="Lenovo" sys.version="ThinkPad X220"		pmbr_slot=1
56sys.manufacturer="Lenovo" sys.version="ThinkPad T420"		pmbr_slot=1
57sys.manufacturer="Lenovo" sys.version="ThinkPad T520"		pmbr_slot=1
58sys.manufacturer="Lenovo" sys.version="ThinkPad W520"		pmbr_slot=1
59sys.manufacturer="Lenovo" sys.version="ThinkPad X1"		pmbr_slot=1
60
61sys.manufacturer="Dell Inc." sys.product="Latitude E6330"	pmbr_active=1
62sys.manufacturer="Dell Inc." sys.product="Latitude E7440"	pmbr_active=1
63sys.manufacturer="Dell Inc." sys.product="Latitude E7240"	pmbr_active=1
64sys.manufacturer="Dell Inc." sys.product="Precision Tower 5810"	pmbr_active=1
65
66sys.manufacturer="Hewlett-Packard" sys.product="HP ProBook 4330s" pmbr_active=1
67
68mb.manufacturer="Intel Corporation" mb.product="DP965LT"	pmbr_active=1
69mb.manufacturer="Intel Corporation" mb.product="D510MO"		pmbr_active=1
70
71mb.manufacturer="Acer" mb.product="Veriton M6630G"		pmbr_active=1
72
73