summaryrefslogtreecommitdiff
path: root/com32/modules/ethersel.c
Commit message (Collapse)AuthorAgeFilesLines
* Use <dprintf.h> instead of an ad hoc definitionH. Peter Anvin2012-05-181-6/+1
| | | | | | | Instead of using ad hoc definitions of dprintf, dprintf2, vdprintf and vdprintf2, use <dprintf.h> everywhere possible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: console is already initialised when we enter main()Matt Fleming2011-04-261-1/+0
| | | | | | | | | There's no need to initialise the console when we enter main() as ldlinux.c32 will already have initialised it for us. Leaving the calls to openconsole() causes the console settings to be reset whenever we run a module. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* com32: single instance of skipspace()Erwan Velu2011-02-071-8/+1
| | | | no need to keep several versions of it.
* Run Nindent on com32/modules/ethersel.cH. Peter Anvin2009-05-291-127/+125
| | | | | | | | | Automatically reformat com32/modules/ethersel.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pci: revamp the PCI system to have a hierarchial formatH. Peter Anvin2008-08-121-7/+8
| | | | | | | | Create the concept of a PCI domain, as a hierarcy of busses, devices and functions. This avoids large static-sized arrays and allows for geographical addressing of devices. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* ethersel: use library functionsSebastian Herbszt2008-07-191-26/+4
| | | | | | | Replace get_config() and execute() with syslinux_config_file() and syslinux_run_command(). - Sebastian
* Update copyright yearH. Peter Anvin2008-01-101-1/+1
|
* Improving PCI collected informationsErwan Velu2007-08-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch - add a new pci_dev_info structure : It contains additional informations about the pci devices like the product/vendor name and the associated linux kernel module - add a get_name_from_pci_ids() function in pci/scan.c This function reads a pci.ids file from the boot device. Then it assign for each pci device, its vendor/product name. You just have to put this file in the root directory of your isolinux/pxelinux (i.e the root directory of your tfptboot server if you are using pxelinux). - add a get_module_name_from_pci_ids() function in pci/scan.c This function reads a modules.pcimap file from the boot device. Then it assign for each pci_device its linux kernel module. You just have to put this file in the root directory of your isolinux/pxelinux (i.e the root directory of your tfptboot server if you are using pxelinux). - Add a call to get_name_from_pci_ids() into the pcitest COM32 module - Add a call to get_module_name_from_pci_ids() into the pcitest COM32 module - Fixing typedef struct { ... } s_pci...; by struct pci... {}; - Improving comments - Fixing the memory allocation to prevent leaks With this patch, pcitest.c32 act like lspci plus a bonus by displaying the linux kernel module assiocated to each pci device. Signed-off-by:Erwan Velu <erwan.velu@free.fr> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* ethersel: move RID range parsing into its own function.H. Peter Anvin2007-04-011-13/+21
|
* Remove bogus clobbering of the maskH. Peter Anvin2007-04-011-2/+1
| | | | | Remove bogus clobbering of the DID mask, effectively making the option to set a mask for the DID unusable.
* Ethersel must use the pci com32 module instead of builtin pci detection codeErwan Velu2007-03-071-73/+4
| | | | | | | | | | | | | | From : Erwan Velu <erwan.velu@free.fr> This patch - remove the pci detection code from ethersel - add a find_pci_device() function in the PCI com32 module - make ethersel using the pci com32 module instead of builtin pci detection code Testing and feedback are welcome. Signed-off-by:Erwan Velu <erwan.velu@free.fr>
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-171-1/+0
|
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-031-1/+0
|
* Remove stealth whitespaceH. Peter Anvin2006-03-171-3/+3
|
* Add debugging code, if necessaryhpa2005-08-091-1/+14
|
* Explicitly detect the config typesyslinux-3.10-pre4hpa2005-08-081-0/+2
|
* Fix command parsing; add mask supporthpa2005-01-051-16/+39
|
* Spend little over half a kilobyte printing an error message at the end.hpa2005-01-051-2/+5
|
* New module "ethersel" which scans for devices and boots an appropriatehpa2005-01-051-0/+256
one derived from the configuration file.