aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers/pci
Commit message (Collapse)AuthorAgeFilesLines
* PCI: centralize parsing of device coordinates in command line optionsJan Beulich2013-08-281-0/+42
| | | | | | | | | With yet another case to come in a subsequent patch, it seems time to do this in a single place rather than hand crafting it in various scattered around locations. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* move pci_find_ext_capability() into common PCI codeJan Beulich2011-11-221-0/+40
| | | | | | | | | | There's nothing architecture specific about it. It requires, however, that x86-32's pci_conf_read32() tolerates register accesses above 255 (for consistency the adjustment is done to all pci_conf_readNN() functions). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* PCI multi-seg: config space accessor adjustmentsJan Beulich2011-09-221-7/+7
| | | | Signed-off-by: Jan Beulich <jbeulich@suse.com>
* vtd: Make some pci access functions architecture independent.Keir Fraser2008-10-092-0/+65
| | | | | Signed-off-by: Anthony Xu <anthony.xu@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* bitkeeper revision 1.1389.5.5 (42788bdeo6dq0hEkwcye0RH_ljmY1Q)kaf24@firebug.cl.cam.ac.uk2005-05-048-10673/+0
| | | | | | Remove dead code from Xen. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1236.1.106 (423fdf68Jj2B3iL1Ab8caOSNgsAs-w)kaf24@firebug.cl.cam.ac.uk2005-03-221-1/+2
| | | | | | | Cross-architecture build fixes. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1159.212.131 (4208dea93kRwptTEZzh2Dm2aH9dAKA)iap10@freefall.cl.cam.ac.uk2005-02-082-66/+1
|\ | | | | | | | | merge
| * bitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)iap10@freefall.cl.cam.ac.uk2005-02-082-66/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some functions aren't static and could be (damn C language!). I tried turning on -Wmissing-prototypes: unfortunately gives warnings for functions used in asm, which means introducing gratuitous prototypes for them. Not sure it's worth it. 1) keyhandler.c: keypress_softirq() and do_task_queues() can be static. 2) physdev.c: pcidev_dom0_hidden() can be static. 3) resource.c/resource.h: check_region is deprecated (racy): remove. 4) sched_bvt.c: lots of things can be static. 5) pci/compat.c: not required for Xen. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored) Signed-off-by: ian.pratt@cl.cam.ac.uk
* | bitkeeper revision 1.1159.238.1 (4200c8d8KsGlaM3w6o3y4GHhK1jKjg)iap10@labyrinth.cl.cam.ac.uk2005-02-022-5/+5
|/ | | | | | | A typesafe allocator submitted by Rusty Russel with trivial renames by me. Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> (authored) Signed-off-by: ian.pratt@cl.cam.ac.uk
* bitkeeper revision 1.1159.230.2 (41f65234Pi4Crimteaw690fX-H8jyg)kaf24@scramble.cl.cam.ac.uk2005-01-251-24/+18
| | | | | | Use list_for_each_entry() in preference to list_for_each(). signed-off-by: keir.fraser@cl.cam.ac.uk
* bitkeeper revision 1.1159.223.15 (41f2c43e5U8GurDCsAUaiGJ2VOmnUQ)iap10@labyrinth.cl.cam.ac.uk2005-01-221-1/+2
| | | | | | | | | | | Description: Use proper targets in makefiles A rule in make should produce only what it's target allows. When it produces side-effects, things like ctrl-c and parallellism break it oddly. From Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
* bitkeeper revision 1.1159.31.1 (411e31a8whkN5pph5aGYDZEaAAg8eg)kaf24@scramble.cl.cam.ac.uk2004-08-143-615/+0
| | | | | | Update some Xen files to Linux 2.4.26. Hopefully will fix some IRQ routing problems that have been reported.
* bitkeeper revision 1.1108.1.29 (41056396oI8TDCaTvBdU_3II1cHF9Q)kaf24@scramble.cl.cam.ac.uk2004-07-263-8/+8
| | | | | | Rename memory allocator interfaces in Xen to avoid conflicts with Linux namespace.
* bitkeeper revision 1.1041.18.1 (40ec37bbEfVooGtkbbrgCf3ZWEhJEg)kaf24@scramble.cl.cam.ac.uk2004-07-071-1/+1
| | | | | | More x86_64 stuff. Now links, but a bunch of stuff is stubbed out. Will it run? :-)
* bitkeeper revision 1.1041.1.14 (40eaf438sciOdZWe5QAqcjLLtbzF2Q)djm@kirby.fc.hp.com2004-07-061-2/+2
| | | | | | Minor PCI tweaks to move ever so slightly toward 2.6 and make ia64 (based on 2.6) easier.
* bitkeeper revision 1.1041.4.1 (40e49f12Fj3pygWG3LxLQ2tcwBx24A)kaf24@scramble.cl.cam.ac.uk2004-07-011-0/+1
| | | | | | Fix common files when compiled without CONFIG_SMP (some x86-specific files still don't work).
* bitkeeper revision 1.1007 (40d9a9b67QWaIdCVPMQU8ujlBGA1nQ)kaf24@scramble.cl.cam.ac.uk2004-06-232-5/+5
| | | | | | | Remove GFP_* flags from memory allocators. Something similar may get added back to the buddy allocator if it gets used for allocating domain memory on some architectures.
* bitkeeper revision 1.1006 (40d9a97axjBe_6FDfnm1NDHGVevZrw)kaf24@scramble.cl.cam.ac.uk2004-06-231-572/+0
| | | | | | Remove obsolete 'ser_baud=<baud>' option. You must now use 'com1=<baud>,8n1'.
* bitkeeper revision 1.978.1.1 (40d1c7d75zjrViIOqn5JNXN1kGudig)kaf24@scramble.cl.cam.ac.uk2004-06-171-367/+2
| | | | | Remove dead function.
* bitkeeper revision 1.971 (40d0bbb1JPrSxn2RF8RhPvWOZBY1Sg)kaf24@scramble.cl.cam.ac.uk2004-06-161-1/+0
| | | | | More code excision.
* bitkeeper revision 1.952 (40c8935a3XSRdQfnx5RoO7XgaggvOQ)kaf24@scramble.cl.cam.ac.uk2004-06-101-21/+4
| | | | | | | Towards x86_64 support. Merged a bunch of the existing x86_64 stuff back into a generic 'x86' architecture. Aim is to share as much as possible between 32- and 64-bit worlds.
* bitkeeper revision 1.950 (40c86066TdQwTUVQtZ0q0py10MTUgg)kaf24@scramble.cl.cam.ac.uk2004-06-101-79/+4
| | | | | Removed old I/O world and cleaned up.
* bitkeeper revision 1.944 (40c70595GOCGjmHQFvphhaOjXAmbvw)kaf24@scramble.cl.cam.ac.uk2004-06-091-4/+4
| | | | | Xen build-configuration cleanups.
* bitkeeper revision 1.846 (40718059pi259OEdVTRV0BFJ9jTK4w)kaf24@scramble.cl.cam.ac.uk2004-04-051-0/+2
| | | | | Avoid compiler warnings.
* bitkeeper revision 1.842.1.1 (40715b38BNfFZvL7yV9c1GJbSaAK0g)kaf24@scramble.cl.cam.ac.uk2004-04-054-286/+1174
| | | | | | | | | | | Many files: new file Upgrade Xen APIC and ACPI and PCI subsystems to new features and fixes in latest Linux 2.4. acpi.c: Rename: xen/arch/i386/acpitable.c -> xen/arch/i386/acpi.c .del-acpitable.h~539b823a64c2b9d8: Delete: xen/arch/i386/acpitable.h
* bitkeeper revision 1.825.3.6 (4064639dGSejbtZOrnsOB_IspAZ6kw)kaf24@scramble.cl.cam.ac.uk2004-03-261-0/+6
| | | | | | blkdev.h, pci.c, Makefile, domain.c, setup.c, entry.S, Rules.mk: Allow Xen to be built without device drivers using 'nodev=y make'.
* bitkeeper revision 1.821 (406007d6uu0vZYDxa9P1ZfNO9kF_Cg)kaf24@scramble.cl.cam.ac.uk2004-03-239-55/+55
| | | | | | | | | | | | Many files: xeno -> xen renames. ide-xen.c: Rename: xen/drivers/ide/ide-xeno.c -> xen/drivers/ide/ide-xen.c xen.lds: Rename: xen/arch/i386/xeno.lds -> xen/arch/i386/xen.lds Many files: mvdir
* bitkeeper revision 1.789 (4051dba62id7XBLQIfBX2kqtjQJzfQ)kaf24@scramble.cl.cam.ac.uk2004-03-121-7/+17
| | | | | | | | physirq.c, pci-pc.c, pci-irq.c, pci-i386.h, pci-i386.c, pci-dma.c, physdev.h: new file Many files: Second half of Rolf's IO patch.
* bitkeeper revision 1.775 (404f3d312IPf2eSF1VGO0WBwqhqeaA)kaf24@scramble.cl.cam.ac.uk2004-03-109-60/+60
| | | | | | | | trace.h: new file Many files: Fix compile errors in Xen headers.
* bitkeeper revision 1.695 (4017ff70oJV8517inpGbN1CixN6csw)kaf24@scramble.cl.cam.ac.uk2004-01-281-2/+0
| | | | | | Many files: Clean up compile warnings. Added stricter gcc options for Xen build.
* bitkeeper revision 1.160.1.4 (3e9401e4kc8Fmnd3AHf8r9s7zUPW2A)kaf24@scramble.cl.cam.ac.uk2003-04-091-0/+1
| | | | | | pci.c: Make it clear that previous PCI fix is intended to be forward ported as necessary.
* bitkeeper revision 1.160.1.3 (3e93f829-ne467JH-6UdjBVdjZRCgw)jws@cairnwell.research2003-04-091-6/+11
| | | | | | | a few tricks to avoid memory problems. BUG remains: there is nothing to stop the kernel stack growing too big (i.e. to nearly 8k); if it does, it will overwrite the idle0_task task struct which it shares a page with. If you see a page fault in the scheduler (prev_task, next_task corrupted), suspect this bug.
* bitkeeper revision 1.145 (3e76131eo2ToZ75trWvK5ELYWyDIXQ)kaf24@scramble.cl.cam.ac.uk2003-03-171-9/+22
| | | | | | pci_ids.h, pci.ids, tg3.h, tg3.c: Brand new exciting tg3 driver. IAP can test this :-)
* bitkeeper revision 1.133 (3e73449239zR-zlZEisfftdXqgQSSw)kaf24@scramble.cl.cam.ac.uk2003-03-152-2/+2
| | | | | | Many files: Fixes to allow compile-time SMP disable (by removing CONFIG_SMP from config.h).
* bitkeeper revision 1.94 (3e5a4f5fzVaxemjfCt0N0OH8PYPiuw)iap10@labyrinth.cl.cam.ac.uk2003-02-2412-0/+11463
Rename xen-2.4.16 to just "xen" to reflect that it hasn't got any relation to the Linux kernel version.