tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
arch
/
sparc64
/
dev
/
at
jcs
115 files
auxio.c
Factor code responsible for flipping bits in the auxio registers. Only include the floppy routine if the floppy driver is configured.
9 months ago
auxioreg.h
Remove clause #3 from mrg@NetBSD license.
6 years ago
auxiovar.h
Don't bother mapping auxio registers we don't care about.
9 months ago
bbc.c
Constify struct cfattach.
4 years ago
beep.c
use correct array index when setting frequency ok miod@
1 year ago
beeper.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
cbus.c
Constify struct cfattach.
4 years ago
cbusvar.h
Rework cbus(4) interrupt support a bit. Instead of merging devhandle and devino into a pseudo-sysino, directly use the devino as the ihandle. The devhandle is stored in the cbus softc, and accessed through the bus space tag. This allows us to have more than 256 interrupts on a single cbus, and avoids relying on the lower bits of the devhandle being zero.
11 years ago
ce4231.c
set format bits for 8-bit unsigned linear encodings removed by mistake in rev 1.32 ok ratchov@
9 months ago
ce4231var.h
recording/full-duplex support ok kettenis
15 years ago
central.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
centralvar.h
driver for the "central" controller on the E4500 (and others) [fhc and others to follow]
21 years ago
clkbrd.c
Constify struct cfattach.
4 years ago
clkbrdreg.h
more register defns
21 years ago
clkbrdvar.h
Add temperature sensor.
18 years ago
cmp.c
Constify struct cfattach.
4 years ago
com_ebus.c
Constify struct cfattach.
4 years ago
comkbd_ebus.c
Constify struct cfattach.
4 years ago
comms_ebus.c
remove extra debugging printf(). ok miod@
17 years ago
cons.h
remove prototypes with no matching function and externs with no var
2 years ago
consinit.c
Delete unnecessary <sys/file.h> includes
8 years ago
core.c
Constify struct cfattach.
4 years ago
creator.c
Remove vestigial bits of 32-bit binaries support; drop the `64' suffix in struct names when the matching `32' flavour got removed.
3 years ago
creatorreg.h
Load firmware that is needed for accelerated X on Elite3D boards. The firmware is loaded from /etc/firmware/afb, which will be provided soon.
16 years ago
creatorvar.h
Merge creator attachment code again, it turns out the upa/mainbus attachment code split is not necessary after all; ok jason@
20 years ago
ebus.c
No need to include <iommureg.h> in these files anymore.
9 months ago
ebus_mainbus.c
No need to include <iommureg.h> in these files anymore.
9 months ago
ebusreg.h
Remove clause #3 from mrg@NetBSD license.
6 years ago
ebusvar.h
Remove clause #3 from mrg@NetBSD license.
6 years ago
environ.c
Constify struct cfattach.
4 years ago
fb.c
Fix some spelling.
2 years ago
fd.c
Begin transition to 52-partition support. The partition encoding used to be lowest 4 bits of dev_t, and now becomes 6. This supplies 64 partitions in struct disklabel.d_partitions[MAXPARTITIONSUNIT], but we only use 52 of these slots (an architecture can be either 16 partition or 52 partition, depending on MD define MAXPARTITIONS). The 52-partition limit is due to single-character representation limit of a-zA-Z. We supply a backwards-compat ioctl for a while which can read an disklabel structure.
4 months ago
fdreg.h
Preliminary support for the floppy drive on Ultrasparcs. Only tested on SBus machines so far, although EBus attachment glue is provided but not enabled by default.
21 years ago
fdvar.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
fhc.c
No need to include <iommureg.h> in these files anymore.
9 months ago
fhc_central.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
fhc_mainbus.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
fhcreg.h
Don't rely on the PROM to have configured the interrupts. Make Simics boot a but further and doesn't hurt a real E4500.
19 years ago
fhcvar.h
add a blink_led API (shaves ~1k from GENERIC) rather than have the same logic in 3 files. Devices register a function to be called to turn the led on and off based on load average. (Note: rerun config and make depend)
21 years ago
gfb.c
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
3 years ago
gfxp.c
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
3 years ago
ifb.c
remove prototypes with no matching function
2 years ago
ifb_ident.c
Stricter checks when deciding which acceleration code to use. Instead of matching on pci id, and if no match is found, on pci subsystem id, match on openfirmware device names (which amounts to a pci id AND subsystem id exact match).
17 years ago
iommu.c
Avoid segments greater than maxsegsz during map merging
2 years ago
iommureg.h
Move interrupt-related defines from iommureg.h to intreg.h. NFC
9 months ago
iommuvar.h
spelling
5 years ago
ldc.c
Fix another memory leak on error path in ldc.c
9 years ago
ldcvar.h
Add transmit queue locking.
11 years ago
led.c
Constify struct cfattach.
4 years ago
lom.c
Use destination buffer size as strlcpy() bound, not source; harmless here for both sizes are equal. ok kettenis@
3 years ago
lpt_ebus.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
machfb.c
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
3 years ago
mgiic.c
Constify struct cfattach.
4 years ago
msi.c
Implement pci_intr_establish_cpu() for pyro(4) and vpci(4) based sparc64 systems. MSIs on these systems are delivered to event queues, which trigger interrupts when non-empty. The interrupt handler dequeues the MSIs and converts them into soft interrupts, which run on the same cpu as the event queue interrupt.
5 years ago
msivar.h
Implement pci_intr_establish_cpu() for pyro(4) and vpci(4) based sparc64 systems. MSIs on these systems are delivered to event queues, which trigger interrupts when non-empty. The interrupt handler dequeues the MSIs and converts them into soft interrupts, which run on the same cpu as the event queue interrupt.
5 years ago
ofwi2c.c
spelling
12 years ago
ofwi2cvar.h
split the ofw scan up into two parts: one to find the i2c bus on a pci device, and one to find i2c devices on the i2c bus.
20 years ago
pcf8591_envctrl.c
Constify struct cfattach.
4 years ago
pcf8591_ofw.c
Constify struct cfattach.
4 years ago
pcfiic_ebus.c
Constify struct cfattach.
4 years ago
pci_machdep.c
No need to include <iommureg.h> in these files anymore.
9 months ago
pckbc_ebus.c
Extend the PCKBC_CANT_TRANSLATE feature, specific to Tadpole/RDI hardware, to also support scan code set #3 in addition to the existing scan code set #2.
2 years ago
pcons.c
Remove dead code.
9 months ago
pmc.c
Constify struct cfattach.
4 years ago
power.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
ppm.c
Constify struct cfattach.
4 years ago
prtc.c
Extend struct todr_chip_handle with a todr_quality member. This allows us to assign a quality to RTC implementation and pick the "best" RTC if a system has multiple RTCs (or multiple interfaces to an RTC). This allows us to prefer a battery-backed I2C RTC over an RTC that is part of the SoC which is only running of the SoC is powered. It also allows us to work around issues with firmware RTC interfaces that may lie to us or even crash the system.
3 years ago
psycho.c
No need to include <iommureg.h> in these files anymore.
9 months ago
psychoreg.h
spelling
5 years ago
psychovar.h
Remove clause #3 from mrg@NetBSD license.
6 years ago
pyro.c
No need to include <iommureg.h> in these files anymore.
9 months ago
pyrovar.h
Implement pci_intr_establish_cpu() for pyro(4) and vpci(4) based sparc64 systems. MSIs on these systems are delivered to event queues, which trigger interrupts when non-empty. The interrupt handler dequeues the MSIs and converts them into soft interrupts, which run on the same cpu as the event queue interrupt.
5 years ago
radeonfb.c
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
3 years ago
raptor.c
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
3 years ago
rtc.c
Extend struct todr_chip_handle with a todr_quality member. This allows us to assign a quality to RTC implementation and pick the "best" RTC if a system has multiple RTCs (or multiple interfaces to an RTC). This allows us to prefer a battery-backed I2C RTC over an RTC that is part of the SoC which is only running of the SoC is powered. It also allows us to work around issues with firmware RTC interfaces that may lie to us or even crash the system.
3 years ago
sab.c
add missing write of SAB_DAFO ok miod@ who tested on Ultra 5
3 years ago
sab82532reg.h
sbbc.c
Extend struct todr_chip_handle with a todr_quality member. This allows us to assign a quality to RTC implementation and pick the "best" RTC if a system has multiple RTCs (or multiple interfaces to an RTC). This allows us to prefer a battery-backed I2C RTC over an RTC that is part of the SoC which is only running of the SoC is powered. It also allows us to work around issues with firmware RTC interfaces that may lie to us or even crash the system.
3 years ago
sbus.c
Drop the first argument of intr_establish().
2 years ago
sbusreg.h
Fix struct sysioreg layout after the struct iommureg layout change; ok kettenis@
18 years ago
sbusvar.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
schizo.c
No need to include <iommureg.h> in these files anymore.
9 months ago
schizoreg.h
Make the "machine xir" ddb command work on machines with Tomatillo schizo(4) variants.
17 years ago
schizovar.h
Add macros to access Schizo's PCI config space.
19 years ago
ssm.c
Constify struct cfattach.
4 years ago
starfire.c
Add some e10k support code.
18 years ago
starfire.h
Add some e10k support code.
18 years ago
stp_sbus.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
tda.c
Constify struct cfattach.
4 years ago
upa.c
Constify struct cfattach.
4 years ago
uperf.c
Change function definitions using the identifier-list form used in the 1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard.
3 years ago
uperf_ebus.c
No need to include <iommureg.h> in these files anymore.
9 months ago
uperfvar.h
vbus.c
Drop the first argument of intr_establish().
2 years ago
vbusvar.h
Rework vbus(4) interrupt handling to be similar to cbus(4). Expose functions to ack and enable/disable interrupts and don't enable interrupts by default. Also don't ack interrupts by default.
7 years ago
vcc.c
Constify struct cfattach.
4 years ago
vcctty.c
Constify struct cfattach.
4 years ago
vcons.c
Constify struct cfattach.
4 years ago
vds.c
Constify struct cfattach.
4 years ago
vdsk.c
constify SCSI adapter entry points
4 years ago
vdsp.c
Constify struct cfattach.
4 years ago
vgafb.c
remove prototypes with no matching function ok mpi@
2 years ago
viommu.c
Avoid segments greater than maxsegsz during map merging Apply the same fix as done in iommu.c rev 1.83
6 months ago
viommuvar.h
Make IOMMU code use the generic _bus_dmamem_map() and _bus_dmamem_unmap().
17 years ago
viovar.h
Add padding to some message structs since the Solaris virtual disk servers seems to want it. Also add 'struct vio_rdx' to make sure we use the proper padding there too.
17 years ago
vldc.c
Constify struct cfattach.
4 years ago
vldcp.c
remove prototypes with no matching function
2 years ago
vnet.c
Improve vnet(4) to work better in busy conditions. No longer limit the ifq size to a low number, increase the slots on the DMA Ring a bit and abstract the VNET buffer size into a define. Enqueue packets on the ring but mark the initial packet ready at the end. This way the other ldom is not able to rush ahead and overconsume packets. The dring indexes are passed between ldoms and can get out of sync with causes the TX ring to stall. Tested by myself and jan@ OK kettenis@ jan@ kn@
3 years ago
vpci.c
remove prototypes with no matching function ok mpi@
2 years ago
vrng.c
Constify struct cfattach.
4 years ago
vrtc.c
Extend struct todr_chip_handle with a todr_quality member. This allows us to assign a quality to RTC implementation and pick the "best" RTC if a system has multiple RTCs (or multiple interfaces to an RTC). This allows us to prefer a battery-backed I2C RTC over an RTC that is part of the SoC which is only running of the SoC is powered. It also allows us to work around issues with firmware RTC interfaces that may lie to us or even crash the system.
3 years ago
vsw.c
Constify struct cfattach.
4 years ago
wbsd_ebus.c
Constify struct cfattach.
4 years ago
z8530kbd.c
remove prototypes with no matching function ok mpi@
2 years ago
zs.c
Fix some spelling.
2 years ago