DragonFly BSD

CVS log for src/sys/bus/pci/i386/pci_cfgreg.c

[BACK] Up to [DragonFly] / src / sys / bus / pci / i386

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:22:20 2008 UTC (6 years ago) by dillon
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +3 -3 lines
Add amd64 files for the ISA and PCI busses and adjust the header files
to operate in more of a machine-independant fashion.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Aug 2 01:14:41 2008 UTC (6 years ago) by dillon
Branches: MAIN
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +1 -1 lines
Create an #include layer for bus/pci and bus/isa so source files do not
have to dive into bus/xxx/i386 to access header files.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Dec 22 23:12:17 2006 UTC (7 years, 8 months ago) by swildner
Branches: MAIN
CVS tags: DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10, DragonFly_Preview
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +26 -26 lines
Rename printf -> kprintf in sys/ and add some defines where necessary
(files which are used in userland, too).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:55:36 2006 UTC (7 years, 11 months ago) by dillon
Branches: MAIN
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +2 -2 lines
Rename malloc->kmalloc, free->kfree, and realloc->krealloc.  Pass 1

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Nov 4 08:57:23 2005 UTC (8 years, 9 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +0 -3 lines
Allow 'options SMP' *WITHOUT* 'options APIC_IO'.  That is, an ability to
produce an SMP-capable kernel that uses the PIC/ICU instead of the IO APICs
for interrupt routing.

SMP boxes with broken BIOSes (namely my Shuttle XPC SN95G5) could very well
have serious interrupt routing problems when operating in IO APIC mode.
One solution is to not use the IO APICs.  That is, to run only the Local
APICs for the SMP management.

* Don't conditionalize NIDT.  Just set it to 256

* Make the ICU interrupt code MP SAFE.  This primarily means using the
  imen_spinlock to protect accesses to icu_imen.

* When running SMP without APIC_IO, set the LAPIC TPR to prevent unintentional
  interrupts.  Leave LINT0 enabled (normally with APIC_IO LINT0 is disabled
  when the IO APICs are activated).  LINT0 is the virtual wire between the
  8259 and LAPIC 0.

* Get rid of NRSVIDT.  Just use IDT_OFFSET instead.

* Clean up all the APIC_IO tests which should have been SMP tests, and all
  the SMP tests which should have been APIC_IO tests.  Explicitly #ifdef
  out all code related to the IO APICs when APIC_IO is not set.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:52:17 2005 UTC (9 years, 6 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +2 -2 lines
Annotate the class byte with a class name in the bootverbose pci "found->"
bus logging code.  Numbers are fine, but when there are thousands of them
on the screen you need a bit of human readable context.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Dec 22 11:03:27 2004 UTC (9 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +1 -29 lines
Remove my local patch again, it was still not meant to be commited.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Dec 22 11:01:49 2004 UTC (9 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +29 -1 lines
Add new structures for exporting the cputime statistics via 64 bit counters
and redo the timer frequence export.
Provide the interface glue for libkinfo and libkcore.
Additionally provide interfaces to query ccpu, the number of cpus, tk_nin
and tk_nout.
Remove those fields from devstat.h's struct statinfo.
Remove kvm dependency of rpc.rstatd by using the newly added libkinfo
functions and the sysctl interface for vmmeter.
Use the new interface in systat, the iostat part is now kvm-free.
Use kinfo_get_sched_stathz in time.
Use the kinfo interface for everything beside getting the actual process list
in top. This also removes the Last PID, which could be added back easily.
Since the feature is not that useful and breaks e.g. the jail isolation,
I haven't added a sysctl to read nextpid.
Use the kinfo interface in vmstat.
Use the kinfo interface in iostat. iostat is now kvm-free and not
setgid kmem anymore. This also means that iostat can't be applied to
coredump anymore. If this functionality is important, the kcore kinfo wrapper
can be added easily.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 8 07:10:46 2004 UTC (10 years, 6 months ago) by hmp
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +2 -1 lines
Merge from FreeBSD:

	Replace an outb() with a DELAY(1) during the test for configuration
	mechanism #1.  This fixes probing for PCI on some systems.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 7 15:56:58 2004 UTC (10 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +8 -0 lines
Add a tunable hw.pci_disable_bios_route to work around broken PCI-BIOSes.

Many BIOS implementations don't route an interrupt to cardbus bridges
by default and some doesn't provide a working call. This results in
panics on boot up. For the OLDCARD pcic, it was possible to force the
interrupt-less operation, but NEWCARD doesn't have such an option and
will never have.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 15 08:05:41 2004 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +293 -111 lines
Sync pci_cfgreg.c with FreeBSD 5, rev. 1.101. This makes the PCI interrupt
routing code more robust. Also copied pci_cfgreg.h into bus/pci/i386, the
other instance in machine/pci_cfgreg.h will go later.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jan 14 18:03:05 2004 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +392 -393 lines
Fix indentation to tabs, no functional changes

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 7 21:16:47 2003 UTC (11 years ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +5 -5 lines
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:37 2003 UTC (11 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:54:49 2003 UTC (11 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.1.2.7

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options