The NetBSD Project

CVS log for src/sys/arch/alpha/pci/pci_kn20aa.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / alpha / pci

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.55.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:02 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +12 -25 lines
Sync with HEAD.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Jul 4 22:42:36 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -3 lines
Remove unnecessary #include <sys/malloc.h>

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Jul 4 22:36:43 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -14 lines
Reduce code duplication when setting up the interrupt handler data
structures:
- alpha_shared_intr_alloc() no longer takes a "string length" argument,
  and just uses kmem_asprintf() to create an "irq %u" string by default.
  This is suitable for nearly every caller.
- Add a alpha_shared_intr_set_string() that allows callers to override
  the default IRQ description string.
- Related: make alpha_shared_intr_string() return a const char *, since
  no callers should need to modify the string directly now.
- Re-factor PCI shared interrupt structure allocation / initialization
  into a new alpha_pci_intr_alloc(), which is suitable for nearly every
  Alpha PCI platform.  Callers are expected to first have initialized
  the interrupt hardware to the quiescent state.

Adjust various call sites of above functions to account for changes,
even if they are not able to use the newly re-factored code.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Jun 25 18:08:34 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
Tweak how the IRQ description strings are generated to enable additional
duplicated code re-factoring.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jun 19 16:59:07 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -11 lines
Don't use a bunch of switch() statements in the core logic drivers to select
the PCI interrupt initialization routine.  Instead, register said routines
by systype in a link set, and look them up and invoke them in a new function
alpha_pci_intr_init().

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Sep 22 15:24:02 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +29 -124 lines
Changes to make MPSAFE interrupts work on Alpha:

- Remove the ipl argument to scb_set() and the associated array of
  "mpsafe" booleans initialized based on the ipl.  It was bogus
  anyway; all IPL_{BIO,NET,TTY}, etc. values are aliases of IPL_VM,
  and for all practical purposes, there is really only one device
  interrrupt level on Alpha anyway.  Intead, we now treat all dispatches
  from the SCB vector table as MP-safe, and it is now the handler for
  that vector who is responsible for acquiring the KERNEL_LOCK if needed.

- Update the direct interrupt vector handlers in jensenio and TURBOchannel
  to acquire the KERNEL_LOCK.

- Introduce a new ALPHA_INTR_MPSAFE flag, and add a flags argument to
  alpha_shared_intr_establish().  When it is set, indicate that the
  handler is MP-safe.  Update alpha_shared_intr_dispatch() to pay
  attention and acquire the KERNEL_LOCK (or not) as indicated.

- Re-factor all of the PCI interrupt handling, providing "generic PCI"
  "PCI interrupts through ISA IRQs" implementations to significantly
  reduce code duplication.  Supplement the PCI chipset tag with more
  info to facilitate this, and make the PCI interrupt-related routines
  take a pci_chipset_tag_t argument rather than a void * argument.

- Because PCI interrupts on KN8AE are dispatched directly from the
  SCB, provide a wrapper for non-MPSAFE interrupt handlers that
  acquires the KERNEL_LOCK.

- Change the pci_intr_handle_t type to be a struct rather than an
  integer type in order to catch any direct use of it as a value.
  Add a set of functions to interact with pci_intr_handle_t, including
  setting interrupt flags.

- Implement pci_intr_setattr() so that the PCI_INTR_MPSAFE attribute
  can be set on a pci_intr_handle_t.

- While I'm here, make all of the MI PCI back-end operations call
  through real functions rather than hopping directly through function
  pointers in the chipset tag.

This change looks a lot bigger than it really is because of the re-factor
in the plethora of model-specific PCI interrupt back-ends.  The KN8AE,
KN300, and T2/T3/T4 (Sable) are largely un-changed.

Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:41 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +12 -13 lines
Rebase to HEAD as of a few days ago.

Revision 1.52.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:27 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.52.4.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.4.1: +12 -13 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.53.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:53 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +12 -13 lines
sync with head

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Mar 21 16:39:29 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +12 -13 lines
gc sprintf; reduce local static usage of interrupt strings that are only
used once for autoconf printing.

Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:57 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +33 -32 lines
sync with head

Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:05 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +33 -32 lines
merge to -current.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Feb 6 02:14:15 2012 UTC (12 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +33 -32 lines
Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:04:45 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +4 -4 lines
Sync with HEAD.

Revision 1.50.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:40:47 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.50.4.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.4.1: +2 -2 lines
sync with head

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Apr 4 20:37:44 2011 UTC (13 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args.  Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
    pci_intr_map() was a leftover from Xen 2.  Probably a bug.  I
    stopped writing it.  I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
    Probably a bug.  I use a temporary variable.  I have not tested this
    change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
    Probably a bug.  Use a local pci_attach_args.  I have not tested
    this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
    caller's pci_attach_args.  Probably a bug.  Make a local copy of the
    caller's pci_attach_args and modify the copy.  I have not tested
    this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
	HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
	KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
	TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
	OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:13 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -4 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Dec 15 01:27:19 2010 UTC (14 years, 1 month ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -4 lines
Remove unneeded includes of <uvm/uvm_extern.h>

Revision 1.47.32.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:06 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +21 -33 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.47.18.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:30 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +21 -33 lines
sync with head.

Revision 1.47.26.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:36 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +21 -33 lines
Sync with HEAD.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:02 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: rmind-uvmplock
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -4 lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:35:59 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +9 -20 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Mar 14 14:45:53 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +13 -13 lines
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.46.50.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:40 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -3 lines
sync with HEAD

Revision 1.46.48.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:34:13 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -3 lines
Sync with HEAD.

Revision 1.46.56.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:21 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -3 lines
Sync with HEAD.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:23:54 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +4 -3 lines
sync with head

Revision 1.46.30.1: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:34:34 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -3 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:33:08 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3 lines
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:17 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: vmlocking, mjf-devfs, matt-armv6, jmcneill-pm
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
merge ktrace-lwp.

Revision 1.44.12.1: download - view: text, markup, annotated - select for diffs
Wed May 11 17:19:52 2005 UTC (19 years, 8 months ago) by riz
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -3 lines
Pull up revision 1.45 (requested by thorpej in ticket #1373):
- Add a alpha_shared_intr_reset_strays() function that resets the
stray
interrupt counter for a given shared interrupt descriptor.
- When an interrupt is successfully handled, reset the strays counter,
thus preventing a "slow leak" from eventually shutting off the
interrupt
vector.  Idea taken from pci_kn300.c (which was changed to use
the new
alpha_shared_intr_reset_strays() function).

Revision 1.44.14.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:27:59 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -3 lines
sync with -current

Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:26:50 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -3 lines
Sync with HEAD.

Revision 1.44.20.1: download - view: text, markup, annotated - select for diffs
Wed Mar 30 10:22:08 2005 UTC (19 years, 9 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -3 lines
Pull up revision 1.45 (requested by thorpej in ticket #76):
- Add a alpha_shared_intr_reset_strays() function that resets the
stray
interrupt counter for a given shared interrupt descriptor.
- When an interrupt is successfully handled, reset the strays counter,
thus preventing a "slow leak" from eventually shutting off the
interrupt
vector.  Idea taken from pci_kn300.c (which was changed to use
the new
alpha_shared_intr_reset_strays() function).

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Mar 29 04:06:20 2005 UTC (19 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -3 lines
- Add a alpha_shared_intr_reset_strays() function that resets the stray
  interrupt counter for a given shared interrupt descriptor.
- When an interrupt is successfully handled, reset the strays counter,
  thus preventing a "slow leak" from eventually shutting off the interrupt
  vector.  Idea taken from pci_kn300.c (which was changed to use the new
  alpha_shared_intr_reset_strays() function).

Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:34:24 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.2: +6 -6 lines
Catch up to -current.

Revision 1.41.4.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:31:09 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.41.4.2: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.2: +6 -6 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:35:38 2002 UTC (22 years, 3 months ago) by provos
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: netbsd-3, netbsd-2, ktrace-lwp, kent-audio2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -6 lines
remove trailing \n in panic().  approved perry.

Revision 1.41.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:34:15 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.1: +3 -3 lines
catch up with -current on kqueue branch

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:37:44 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +307 -0 lines
Catch up to -current.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed May 15 16:57:42 2002 UTC (22 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Rename alpha_pci_decompose_tag() to pci_decompose_tag().  There *is*
some MI PCI code that uses it, and soon there will be more.  (The rationale
for not making it available previously was that it could be mis-used, but
that's true of a lot of things.)

Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:10:48 2001 UTC (23 years, 5 months ago) by lukem
Branches: kqueue
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +16 -27 lines
update to -current

Revision 1.42.2.1
Fri Jul 27 00:25:20 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.42: +0 -307 lines
file pci_kn20aa.c was added on branch nathanw_sa on 2002-06-20 03:37:44 +0000

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jul 27 00:25:20 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +16 -27 lines
Rework the interrupt code, shaving some cycles off in the process.
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector.  This also allows us to hook device
interrupts up to specific vectors (c.f. Jensen).

We can shave even more cycles off, here, and I will, but it requires
some changes to the alpha_shared_intr stuff.

Revision 1.36.8.2: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:33:48 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.36.8.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.8.1: +8 -9 lines
Sync with HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Dec 28 22:59:07 2000 UTC (24 years ago) by sommerfeld
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: kqueue
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -9 lines
Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.36.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:57:15 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +33 -24 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jun 29 08:58:49 2000 UTC (24 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:58:42 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +28 -19 lines
Sync w/ netbsd-1-5-base.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jun 5 21:47:26 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +15 -21 lines
Switch to the new `evcnt' mechanism for counting interrupts.  Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Jun 4 19:14:24 2000 UTC (24 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +17 -2 lines
Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).

Revision 1.36.14.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:31:28 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +6 -6 lines
Pull up to last week's -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 15 22:28:15 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, minoura-xpg4dl-base, chs-ubc2-newbase
Branch point for: minoura-xpg4dl
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -6 lines
Key off NSIO and NPCEB for (E)ISA interrupt support.

XXX Can probably nuke the SIO test; don't all of the ALCOR-class systems
XXX have EISA?

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Feb 12 06:25:13 1999 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize, thorpej_scsipi
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -6 lines
Fix printf format problems on Alpha.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Oct 31 23:51:05 1998 UTC (26 years, 2 months ago) by mjacob
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -2 lines
If NSIO not defined, compile errors.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Aug 1 20:25:13 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +17 -4 lines
Implement pci_intr_disestablish().

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Jul 7 22:24:39 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
On second thought, call that like the rest of the shared intr functions.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jul 7 21:44:58 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -4 lines
Use ALPHA_SHARED_INTR_DISABLE() to test if a shared interrupt should
be disabled after a stray.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Apr 25 00:12:45 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +10 -10 lines
Fix some whitespace lossage.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Apr 24 01:25:19 1998 UTC (26 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
fix minor typo

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Apr 18 01:12:24 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2 lines
Initialize the PCI IDE compat interrupt PCI method to NULL; PCI IDE
compat interrupts are not currently supported on these platforms.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Apr 16 19:50:55 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
Make function names in printfs and panics consistent.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Apr 14 22:21:00 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Pass the pci_chipset_tag_t to sio_intr_setup().  XXX This code should be
rearranged so that other non-PCI-but-in-all-other-ways-ISA-PIC-like
devices can share code.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 4 00:53:49 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -4 lines
Update marc-pcmcia branch from trunk.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Sep 2 20:10:30 1997 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
Adjust for changes to bus space tag initialization.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Sep 2 13:19:45 1997 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -3 lines
Nuke the idea of <machine/options.h>.  It completely defeats the purpose
of fine-grain option dependencies.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Tue Jul 22 06:00:51 1997 UTC (27 years, 6 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +3 -3 lines
sync nwscons branch with changes in -current as of July 21, 1997

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jul 19 09:49:57 1997 UTC (27 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: marc-pcmcia-bp, alpha-nwscons-base
Branch point for: marc-pcmcia
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
don't expect/provide pci_decompose_tag to be a MI, public function.  It
wasn't intended to be to begin with, and uses of it (e.g. the one in the
'de' driver) are quite likely to be incorrect.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 1 04:13:33 1997 UTC (27 years, 7 months ago) by cgd
Branches: alpha-nwscons
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -1 lines
sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Apr 7 23:40:43 1997 UTC (27 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -2 lines
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory.  (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Apr 7 02:01:25 1997 UTC (27 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -1 lines
clean up NetBSD RCS ID strings, include machine/options.h

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Nov 17 02:05:27 1996 UTC (28 years, 2 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Branch point for: alpha-nwscons
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +24 -80 lines
use the new common chained-interrupt support code.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Nov 13 21:13:31 1996 UTC (28 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +11 -34 lines
compile cleanly with:
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Oct 23 04:12:28 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
update for new bus.h macros.  bus_io_* and bus_mem_* integrated into
single bus_space_* framework.  Unfortunately, bus_space_{read,write}_*
operations still imply barriers.  That will change soon.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Oct 13 03:00:12 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +8 -8 lines
backout previous kprintf change

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:51:10 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -8 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 26 00:02:33 1996 UTC (28 years, 4 months ago) by cgd
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.2: +35 -16 lines
pull up from trunk: minor cleanups and support for handling
AlphaStation 500's built-in 21040 ethernet's interrupt.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 19 04:28:25 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +29 -1 lines
check in the code used to build the kernel that Andrew Gallatin used to
figure out the correct IRQ for the ethernet on the AlphaStation 500.
That code is enabled via KN20AA_BOGUS_IRQ_FROB (but hopefully won't be
needed any time soon, and won't link w/o slight changes to other code).
Basically, when establishing an interrupt that we don't know what to
do with, prompt the user for what interrupt line to enable.  If you
get stray interrupts when you try to use the device (but not before),
then you've got the right line.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 19 04:19:01 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
fix typo in comment

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 19 04:14:58 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -1 lines
21040 ethernet chip on AlphaStation 500 lives in slot 6 (a slot not
found on the AlphaStation 600), and interrupts on interrupt line 13.
Thanks to Andrew Gallatin for booting a test kernel 32 times (trying
each interrupt line, looking for the right one) to find this.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Aug 15 22:17:44 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -5 lines
clean up stray interrupt handling a bit.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Aug 14 05:47:39 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
oops; fix bogon in last.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Aug 14 05:45:52 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
say 'stray kn20aa irq' rather than 'stray PCI irq'; former is more correct.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Aug 14 05:44:31 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
fix inadvertent reordering of switch which cases by slot number but
is ordered by interrupt number.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 7 04:33:21 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -9 lines
fix bogus returns from dec_kn20aa_intr_map(), and slightly simplify interrupt
mapping code.  (instead of using a "slot" and multiplying by 4 and adding the
pin number later to get the IRQ, just use base IRQ value and add the pin
number.)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Aug 7 04:22:40 1996 UTC (28 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -2 lines
fix a typo, add a function kn20aa_disable_intr() to disable a given
kn20aa interrupt line.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jul 14 04:08:56 1996 UTC (28 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -3 lines
(1)     Clean up interrupt handling slightly.
(2)     Include more headers to bring necessary prototypes into scope.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 9 00:54:54 1996 UTC (28 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
clean and update for new defintions, prototypes, etc.

Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Thu Jun 13 18:35:31 1996 UTC (28 years, 7 months ago) by cgd
Branches: netbsd-1-2
CVS tags: netbsd-1-2-BETA
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +2 -2 lines
pull up from trunk:
>clean up copyright notices

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jun 13 18:32:15 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
clean up copyright notices

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 5 03:42:26 1996 UTC (28 years, 7 months ago) by cgd
Branches: netbsd-1-2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Pull up from trunk:
>avoid lots of upper-case letters in interrupt names.  prettier that way.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 5 03:38:04 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
avoid lots of upper-case letters in interrupt names.  prettier that way.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 13 00:24:33 1996 UTC (28 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +70 -45 lines
update for new ISA/EISA/PCI/'bus' interfaces.  Untested

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Dec 24 02:29:45 1995 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -5 lines
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 23 02:38:00 1995 UTC (29 years, 2 months ago) by cgd
Branches: MAIN
wholesale update from my NetBSD/Alpha source tree.  Includes:
	Support for AXPpci CPUs,
	Support for AlphaStation 600 CPUs,
	new boot block structure, which requires an 'installboot'
	    program and works a lot like the NetBSD/sparc boot blocks.

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

CVSweb <webmaster@jp.NetBSD.org>