History log of /src/sys/arch/sparc/dev/cgtwo.c |
Revision | | Date | Author | Comments |
1.58 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.57 |
| 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.56 |
| 16-Mar-2014 |
dholland | branches: 1.56.2; Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
|
1.55 |
| 18-Jul-2011 |
mrg | branches: 1.55.2; 1.55.12; 1.55.16; convert to use device_t, cfdata_t and CFATTACH_DECL_NEW().
XXX: compile time tested only.
|
1.54 |
| 11-Jun-2008 |
drochner | mechanical changes to use device_private() or device_lookup_private() to get softcs, makes the code compile under the stricter type checking introduced earlier today
|
1.53 |
| 04-Mar-2007 |
christos | branches: 1.53.40; 1.53.42; 1.53.44; 1.53.46; 1.53.48; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.52 |
| 29-Mar-2006 |
thorpej | branches: 1.52.14; Use device_cfdata().
|
1.51 |
| 11-Dec-2005 |
christos | branches: 1.51.4; 1.51.6; 1.51.8; 1.51.10; 1.51.12; merge ktrace-lwp.
|
1.50 |
| 16-Nov-2005 |
uwe | ANSIify function declarations/defintions. Use uint<N>_t. Propagate "static" to function definitions. Drop trailing whitespace. Same binary code is produced for GENERIC.MP + KGDB + DDB.
|
1.49 |
| 25-Aug-2003 |
uwe | branches: 1.49.16; 1.49.24; Undo previous as it broke things.
There are some scattered implicit RASTERCONSOLE dependencies, so there should be a better way.
|
1.48 |
| 24-Aug-2003 |
uwe | #include "opt_rcons.h"
|
1.47 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.46 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.45 |
| 29-Jun-2003 |
fvdl | branches: 1.45.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.44 |
| 29-Jun-2003 |
darrenr | More changes for providing lwpid for ktrace (sparc GENERIC built)
|
1.43 |
| 02-Apr-2003 |
thorpej | Use PAGE_SIZE rather than NBPG.
|
1.42 |
| 05-Dec-2002 |
fredette | Fixed a null pointer passed to printf().
|
1.41 |
| 23-Oct-2002 |
jdolecek | merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
1.40 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.39 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.38 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.37 |
| 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.36 |
| 03-Aug-2002 |
itojun | correct range check, have overflow check, fix type mismatches, for cmap args and some other calls. from openbsd
|
1.35 |
| 05-Aug-2001 |
jdolecek | branches: 1.35.2; 1.35.6; 1.35.14; 1.35.16; use unsigned variable types as appropriate
|
1.34 |
| 22-Aug-2000 |
pk | branches: 1.34.4; Use the framebuffer drivers & header files that now live in /sys/dev/sun.
|
1.33 |
| 29-Jun-2000 |
mrg | remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
1.32 |
| 26-Jun-2000 |
simonb | Change the kernel mmap interface so that the offset to map is an "off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
|
1.31 |
| 19-Mar-2000 |
pk | branches: 1.31.4; Use fb_is_console(); retract fbconstty & fbnode from service.
|
1.30 |
| 30-Jun-1999 |
drochner | branches: 1.30.2; update for new VME framework
|
1.29 |
| 07-Apr-1998 |
pk | branches: 1.29.10; bus_space_mmap() has changed to take a `bus_space_handle_t *' argument, like other bus space methods.
|
1.28 |
| 21-Mar-1998 |
pk | Account for changed bus attachment scheme.
|
1.27 |
| 06-Feb-1998 |
pk | vme_bus_probe() takes an `offset' argument.
|
1.26 |
| 04-Feb-1998 |
pk | Account for changed vme_bus_probe() arguments.
|
1.25 |
| 28-Jan-1998 |
thorpej | Use offsetof() from libkern.h
|
1.24 |
| 25-Jan-1998 |
pk | Convert to new VME interface.
|
1.23 |
| 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.22 |
| 24-May-1997 |
pk | Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
|
1.21 |
| 19-May-1997 |
pk | Replace bus_tmp() with mapdev() equivalent.
|
1.20 |
| 10-Dec-1996 |
pk | Comply with recent autoconfiguration changes. Diffs graciously supplied by Chris Demetriou.
|
1.19 |
| 13-Oct-1996 |
christos | backout previous kprintf change
|
1.18 |
| 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.17 |
| 04-Oct-1996 |
thorpej | Returning ENODEV is not correct in a poll entry point. Instead, since read/write returns an error, use seltrue().
|
1.16 |
| 18-May-1996 |
mrg | use __P
|
1.15 |
| 23-Apr-1996 |
pk | Map the pixels explicitly on the VME32 bus.
|
1.14 |
| 01-Apr-1996 |
christos | Eliminated dependencies on dev_conf.h
|
1.13 |
| 17-Mar-1996 |
pk | Avoid "unused variable" warning.
|
1.12 |
| 17-Mar-1996 |
thorpej | New device attachment scheme:
- split softc size and match/attach out from cfdriver into a new struct cfattach.
- new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics.
|
1.11 |
| 14-Mar-1996 |
christos | Bring prototypes into scope and fix compiler warnings.
|
1.10 |
| 27-Feb-1996 |
thorpej | First-cut support for P4 framebuffers. Currently supports P4 variants of bwtwo, cgfour, cgsix, and cgeight. Includes support for attaching the overlay plane of the cgfour and cgeight as a bwtwo instance (a'la SunOS).
P4 register descriptions, cgfour driver, and cgeight driver partially derived from OpenBSD.
This code may still need polishing.
|
1.9 |
| 25-Feb-1996 |
pk | Use CPU-type macros.
|
1.8 |
| 11-Dec-1995 |
pk | Adapt to changed mapiodev() interface.
|
1.7 |
| 29-Nov-1995 |
pk | Code from Jason to better configure /dev/fb.
|
1.6 |
| 28-Oct-1995 |
pk | Map pixels in VME32 space
|
1.5 |
| 08-Oct-1995 |
pk | branches: 1.5.2; Patch from Jason to factor out a common framebuffer size determination routine from the individual drivers.
|
1.4 |
| 04-Oct-1995 |
pk | RCONSOLE => RASTERCONSOLE.
|
1.3 |
| 02-Oct-1995 |
pk | Update to use <machine/cgtworeg.h>
|
1.2 |
| 02-Oct-1995 |
pk | Get some of the bugs out. Thanks to David Gilbert for testing.
|
1.1 |
| 17-Sep-1995 |
pk | cgtwo framebuffer, cloned from cgthree.c and sun3's cg2.c. Note: untested, shall be considered a framework to get things started..
|
1.5.2.2 |
| 16-Feb-1996 |
thorpej | Pull in improved framebuffer autoconfiguration code from -current. Prevents panics when multiple framebuffers are found on sun4 systems.
|
1.5.2.1 |
| 28-Oct-1995 |
pk | Update from trunk: Map pixels in VME32 space.
|
1.29.10.1 |
| 01-Jul-1999 |
thorpej | Sync w/ -current.
|
1.30.2.1 |
| 20-Nov-2000 |
bouyer | 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.
|
1.31.4.2 |
| 16-Aug-2001 |
tv | Pullup [jdolecek]:
sys/arch/amiga/dev/grf_cl.c 1.26 sys/arch/amiga/dev/grfioctl.h 1.14 sys/arch/hpcmips/dev/plumvideo.c 1.20 sys/arch/macppc/dev/ofb.c 1.25 sys/arch/sparc/dev/cgtwo.c 1.35 sys/arch/sparc/include/fbio.h patch sys/arch/sparc64/include/fbio.h patch sys/arch/sun3/dev/cg2.c 1.14 sys/arch/sun3/include/fbio.h patch sys/dev/pci/tga.c 1.35 sys/dev/tc/cfb.c 1.28 sys/dev/tc/mfb.c 1.27 sys/dev/tc/sfb.c 1.46 sys/dev/tc/sfbplus.c 1.10 via patch sys/dev/tc/tfb.c 1.30 sys/dev/tc/xcfb.c 1.23 sys/net/if_ppp.c 1.71
Use unsigned variable types to make bounds checking more correct.
|
1.31.4.1 |
| 30-Jun-2000 |
simonb | Pull up mmap paddr_t/off_t changes from trunk.
|
1.34.4.5 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.34.4.4 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.34.4.3 |
| 28-Jun-2002 |
jdolecek | hook fbkqfilter to leaf drivers' kqfilter
|
1.34.4.2 |
| 28-Jun-2002 |
jdolecek | prove kqfilter hook; it's very simple equivalent of seltrue()
|
1.34.4.1 |
| 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
1.35.16.1 |
| 07-Aug-2002 |
lukem | Pull up revision 1.36 (requested by itojun in ticket #616): correct range check, have overflow check, fix type mismatches, for cmap args and some other calls. from openbsd
|
1.35.14.2 |
| 31-Aug-2002 |
gehenna | catch up with -current.
|
1.35.14.1 |
| 17-May-2002 |
gehenna | Add device switch.
|
1.35.6.6 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.35.6.5 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.35.6.4 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.35.6.3 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.35.6.2 |
| 13-Aug-2002 |
nathanw | Catch up to -current.
|
1.35.6.1 |
| 05-Aug-2001 |
nathanw | file cgtwo.c was added on branch nathanw_sa on 2002-08-13 02:18:52 +0000
|
1.35.2.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.45.2.5 |
| 11-Dec-2005 |
christos | Sync with head.
|
1.45.2.4 |
| 04-Feb-2005 |
skrll | Adapt to branch.
|
1.45.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.45.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.45.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.49.24.1 |
| 22-Nov-2005 |
yamt | sync with head.
|
1.49.16.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.49.16.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.51.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.51.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.51.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.51.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.51.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.52.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.53.48.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.53.46.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.53.44.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.53.42.1 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.53.40.1 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.55.16.1 |
| 18-May-2014 |
rmind | sync with head
|
1.55.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.55.2.1 |
| 22-May-2014 |
yamt | 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")
|
1.56.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|