Up to [cvs.NetBSD.org] / src / sys / arch / hp700 / dev
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.16 / (download) - annotate - [select for diffs], Wed May 23 16:11:37 2012 UTC (12 months, 3 weeks ago) by skrll
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver, HEAD
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)
Rework the hp700 interrupt code to - note chip restictions on interrupt in the kernel config - allocate interrupts at attach time - track per CPU interrupts - remove a funciton written in assembly
Revision 1.15 / (download) - annotate - [select for diffs], Mon May 21 20:58:39 2012 UTC (12 months, 4 weeks ago) by skrll
CVS Tags: yamt-pagecache-base5
Changes since 1.14: +7 -6 lines
Diff to previous 1.14 (colored)
Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 14 10:43:19 2012 UTC (14 months ago) by skrll
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9
Changes since 1.13: +43 -35 lines
Diff to previous 1.13 (colored)
Sync with the following OpenBSD changes, but do the shared interrupt reporting differently. Each cpu and device interrupt gets its own counter. revision 1.14 Fix counting of interrupts for devices that attach to elroy(4). Shared interrupts would be counted double, once for the interrupting device and once for the device at the head of the chain. The handlers would run properly though. Avoid this by giving each device its own interrupt counter instead of using the counter provided by the generic interrupt handling code for the head of the chain. revision 1.13 Stop calling shared interrupt handlers as soon as one of them return 1 (positive interrupt was for me), like we do on other architectures. This is done here, at the elroy(4) driver level, since this is where shared PCI interrupts are handled. We could do something similar for dino(4) but this optimization is probably not very relevant there.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 3 12:07:26 2012 UTC (14 months, 2 weeks ago) by skrll
CVS Tags: jmcneill-usbmp-base8
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)
Kill cpu_gethpa by using the HPA stored in the cpu_info structure.
Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 4 20:37:50 2011 UTC (2 years, 2 months ago) by dyoung
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, 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, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
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.11 / (download) - annotate - [select for diffs], Tue Feb 1 18:33:24 2011 UTC (2 years, 4 months ago) by skrll
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)
Change some structure and structure member names to better suit my eye. No functional change. Same code before and after.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 27 13:57:39 2011 UTC (2 years, 4 months ago) by skrll
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)
Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 4 10:42:33 2011 UTC (2 years, 5 months ago) by skrll
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.8: +9 -20 lines
Diff to previous 1.8 (colored)
Centralise the PDC procedure calls into one file and use a minimal set of kernel data for PDC results. Remove the filler components from the PDC structures as a result. Other tidyups while here.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 5 12:19:09 2010 UTC (2 years, 6 months ago) by skrll
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.7: +8 -4 lines
Diff to previous 1.7 (colored)
Make the interrupt evcnt name consistent everywhere.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 24 10:41:21 2010 UTC (3 years, 1 month ago) by skrll
CVS Tags: 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
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)
Only post EOI once for shared interrupts. From Mark Kettenis.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 5 13:20:29 2010 UTC (3 years, 5 months ago) by mbalmer
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
One semicolon only (;; -> ;)
Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 3 11:54:09 2009 UTC (3 years, 6 months ago) by skrll
CVS Tags: matt-premerge-20091211
Changes since 1.4: +3 -8 lines
Diff to previous 1.4 (colored)
Make the pdc_pat_io_num and pdc_pat_pci_rt structures static so they're definitely VA==PA. Being on a stack doesn't guarantee this.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 29 10:30:07 2009 UTC (3 years, 6 months ago) by skrll
Changes since 1.3: +5 -7 lines
Diff to previous 1.3 (colored)
Signal EOI correctly rather than deferencing NULL.
Revision 1.3 / (download) - annotate - [select for diffs], Thu May 7 15:34:49 2009 UTC (4 years, 1 month ago) by skrll
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)
device_t/softc split struct device * -> device_t struct cfdata * -> cfdata_t Use aprint* There are a couple of MI drivers with MD attachments left.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 30 07:08:39 2009 UTC (4 years, 1 month ago) by skrll
CVS Tags: yamt-nfs-mp-base3
Branch point for: yamt-nfs-mp
Changes since 1.1: +362 -0 lines
Diff to previous 1.1 (colored)
Another file missed by me / cvs in the nick-hppapmap merge.
Revision 1.1, Thu Nov 27 21:59:25 2008 UTC (4 years, 6 months ago) by skrll
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
file apic.c was initially added on branch nick-hppapmap.
This form allows you to request diff's 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.