4
Summary: Udev helper for naming devices per BIOS names
6
Group: System Environment/Base
8
URL: http://linux.dell.com/files/%{name}
9
# SMBIOS only exists on these arches. It's also likely that other
10
# arches don't expect the PCI bus to be sorted breadth-first, or of
11
# so, there haven't been any comments about that on LKML.
12
ExclusiveArch: %{ix86} x86_64 ia64
13
Source0: http://linux.dell.com/files/%{name}/permalink/%{name}-%{version}.tar.gz
14
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
15
BuildRequires: pciutils-devel, zlib-devel
16
# to figure out how to name the rules file
18
# for ownership of /etc/udev/rules.d
23
biosdevname in its simplest form takes a kernel device name as an
24
argument, and returns the BIOS-given name it "should" be. This is necessary
25
on systems where the BIOS name for a given device (e.g. the label on
26
the chassis is "Gb1") doesn't map directly and obviously to the kernel
33
# this is a udev rule, so it needs to live in / rather than /usr
34
%configure --disable-rpath --prefix=/ --sbindir=/sbin
40
make install DESTDIR=%{buildroot}
46
%defattr(-,root,root,-)
49
# hack for either /etc or /lib rules location
50
/*/udev/rules.d/*.rules
51
%{_mandir}/man1/%{name}.1*
55
* Thu Feb 17 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.7-1
56
- drop dump_pirq, suggest use biosdecode instead
57
- don't use '#' in names, use 'p' instead, by popular demand
58
- properly look for SMBIOS, then $PIR, then recurse
59
- Add kernel command line parameter "biosdevname={0|1}" to turn off/on biosdevname
60
- Fix segfault when BIOS advertises zero sized PIRQ Routing Table
61
- Add 'bonding' and 'openvswitch' to the virtual devices list
62
- fail PIRQ lookups if device domain is not 0
63
- Don't suggest names if running in a virtual machine (Xen, KVM,
64
VMware tested, but should work on others)
67
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.6-1
68
- drop biosdevnameS, it's unused and fails to build on F15
70
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.5-1
71
- install dump_pirq into /usr/sbin
72
- fix udev rule, skip running if NAME is already set
73
- move udev rule to /lib/udev/rules.d by default
75
* Thu Dec 16 2010 Matt Domsch <mdomsch@fedoraproject.org> - 0.3.4-1
76
- drop unnecessary explicit version requirement on udev
77
- bugfix: start indices at 1 not 0, to match Dell and HP server port designations
78
- bugfix: don't assign names to unknown devices
79
- bugfix: don't assign duplicate names
81
* Thu Dec 9 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.3-1
82
- add back in use of PCI IRQ Routing Table, if info is not provided by
85
* Thu Dec 2 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.2-1
86
- fix for multi-port cards with bridges
87
- removal of code for seriously obsolete systems
89
* Mon Nov 28 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.1-1
90
- remove all policies except 'physical' and 'all_ethN'
91
- handle SR-IOV devices properly
93
* Wed Nov 10 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.0-1
94
- add --policy=loms, make it default
95
- read index and labels from sysfs if available
97
* Mon Jul 27 2009 Jordan Hargrave <Jordan_Hargrave@dell.com> 0.2.5-1
98
- fix mmap error checking
100
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-1
101
- coordinate udev rules usage with udev maintainer
102
- fix crashes in pcmcia search, in_ethernet(), and incorrect command
105
* Mon Aug 27 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.3-1
106
- eliminate libbiosdevname.*, pre and post scripts
108
* Fri Aug 24 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.2-1
109
- ExclusiveArch those arches with SMBIOS and PCI IRQ Routing tables
110
- eliminate libsysfs dependency, move app to / for use before /usr is mounted.
113
* Mon Aug 20 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.1-1