aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-04-07aer-inject: Include libgen.h for explicit basename prototypeHEADmasterKhem Raj1-0/+1
The prototype for basename has been removed from string.h in the latest versions of musl [1]. This absence of prototype is flagged as an error by some compilers, such as clang-18. To resolve this, include libgen.h explicitly, which provides the prototype for basename. [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 Signed-off-by: Khem Raj <raj.khem@gmail.com> [sathya: Updated the commit log] Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
2010-03-10aer-inject: add some data file examplesAndrew Patterson7-4/+110
Add some example data files illustrating some simple test cases and the different syntax variations. Signed-off-by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Huang Ying <ying.huang@intel.com>
2010-03-10aer-inject: use aliases for various keywordsAndrew Patterson2-0/+16
Introduce aliases for some of the longer-length keywords: PCI_ID = ID COR_STATUS = COR = CORRECTABLE UNCOR_STATUS = UNCOR = UNCORRECTABLE HEADER_LOG = HL Signed-off-by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Huang Ying <ying.huang@intel.com>
2010-03-10aer-inject: use command-line option to specify PCI IDAndrew Patterson4-3/+99
The PCI ID may be specified on the command-line using -s|--id instead of taking it from the data file using the PCI_ID keyword. The PCI_ID specified in data file will be overrided by the command-line option. Added -v|--version and -h|--help command-line options. Signed-off-by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Huang Ying <ying.huang@intel.com>
2010-03-10aer-inject: use lspci-style PCI IDAndrew Patterson4-12/+62
Use the lspci -s style of specificying a PCI device [<domain>]:]<bus>:<slot>.<func> instead of DOMAIN <domain> BUS <bus> DEV <dev> FN <func>. Huang Ying: check the syntax and extract the string of PCI_ID in lex, then parse the string later in yacc. Signed-off-by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Huang Ying <ying.huang@intel.com>
2010-03-10aer-inject: support multiple PCI domainsAndrew Patterson3-2/+11
Add support for multiple PCI domains (segments). This patch requires corresponding support in the aer_inject driver (2.6.33 or later). Signed-off-by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Huang Ying <ying.huang@intel.com>
2009-09-23Fix space issue in MakefileHuang Ying1-2/+2
TAB instead of space should be used before commands in rules. Signed-off-by: Huang Ying <ying.huang@intel.com>
2009-09-07Add install target in MakefilePhilipp Thomas1-2/+8
Add install target in Makefile
2009-04-28Initial commitHuang Ying10-0/+479