Displaying 5 results from an estimated 5 matches for "pci_device_list".
2008 Aug 17
1
[PATCH] pci: rename get_module_name_from_pci_ids
...=================================
--- syslinux-3.71-12-ga19312b.orig/com32/include/sys/pci.h 2008-08-16 19:39:41.000000000 +0200
+++ syslinux-3.71-12-ga19312b/com32/include/sys/pci.h 2008-08-16 19:40:06.000000000 +0200
@@ -96,5 +96,5 @@
extern int pci_scan(struct pci_bus_list *pci_bus_list, struct pci_device_list *pci_device_list);
extern struct match * find_pci_device(struct pci_device_list *pci_device_list, struct match *list);
extern void get_name_from_pci_ids(struct pci_device_list *pci_device_list);
-extern void get_module_name_from_pci_ids(struct pci_device_list *pci_device_list);
+extern void get_m...
2008 Aug 01
0
[PATCH] pcitest: fix compile warnings
...===============================================
--- syslinux-3.71-6-gb4bf076.orig/com32/modules/pcitest.c 2008-08-01 21:33:01.000000000 +0200
+++ syslinux-3.71-6-gb4bf076/com32/modules/pcitest.c 2008-08-01 21:35:03.000000000 +0200
@@ -60,7 +60,7 @@
} while (0);
void display_pci_devices(struct pci_device_list *pci_device_list) {
- int pci_dev;
+ unsigned int pci_dev;
for (pci_dev=0; pci_dev < pci_device_list->count; pci_dev++) {
struct pci_device *pci_device = &pci_device_list->pci_device[pci_dev];
printf("PCI: Vendor=%04x(%s) Product=%04x(%s) "
@@ -74,12 +74,12 @@...
2008 Jul 13
4
[PATCH] pci: Introduce slot and function information
...=================================================
--- syslinux-3.71-pre5-3-g852d962.orig/com32/lib/pci/scan.c 2008-07-09 22:20:36.000000000 +0200
+++ syslinux-3.71-pre5-3-g852d962/com32/lib/pci/scan.c 2008-07-09 22:21:06.000000000 +0200
@@ -381,6 +381,8 @@
struct pci_device *pci_device =
&pci_device_list->
pci_device[pci_device_list->count];
+ pci_device->slot = dev;
+ pci_device->func = func;
pci_device->product = did >> 16;
pci_device->sub_product = sid >> 16;
pci_device->vendor = (did << 16) >> 16;
2008 Jun 24
2
Debugging
Hi!
It's indeed better to open a new thread for this. So, here's my test
session:
$ qemu -fda extlinux.144 -s -S
Then in another terminal:
$ gdb extlinux.elf
(gdb) set architecture i8086
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
0x0000fff0 in ?? () at localboot.inc:68
68 jmp kaboom ; If we returned, oh boy...
How does "jmp kaboom" get
2008 Jul 19
0
[PATCH] ethersel: use library functions
...Run command */
- ireg.ebx.w[0] = OFFS(__com32.cs_bounce);
- ireg.es = SEG(__com32.cs_bounce);
- __intcall(0x22, &ireg, NULL);
- exit(255); /* Shouldn't return */
-}
-
int main(int argc, char *argv[])
{
struct match *list, *match;
@@ -225,7 +203,7 @@
match = find_pci_device(&pci_device_list,list);
if ( match )
- execute(match->filename);
+ syslinux_run_command(match->filename);
/* On error, return to the command line */
fputs("Error: no recognized network card found!\n", stderr);