History log of /src/sys/arch/sparc64/dev/kd.c |
Revision | | Date | Author | Comments |
1.53 |
| 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.52 |
| 16-Mar-2014 |
dholland | branches: 1.52.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.51 |
| 27-Oct-2012 |
chs | branches: 1.51.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.50 |
| 24-Apr-2011 |
rmind | branches: 1.50.4; 1.50.14; Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
1.49 |
| 28-Apr-2008 |
martin | branches: 1.49.22; 1.49.28; Remove clause 3 and 4 from TNF licenses
|
1.48 |
| 30-Mar-2008 |
tsutsui | branches: 1.48.2; 1.48.4; One missed file in the previous commit: > Split softc and device_t for zsc(4) and its children.
Pointed out by mrg@.
|
1.47 |
| 19-Nov-2007 |
ad | branches: 1.47.14; - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.46 |
| 19-Oct-2007 |
dogcow | branches: 1.46.2; It's always nice to prototype functions before using them.
|
1.45 |
| 18-Oct-2007 |
joerg | Initialise the callbacks for tty.t_rstrt_ch in ttymalloc as all drivers but Sun/SPARC's kd.c use the same arguments. Separate callout_reset into callout_schedule and the initial callout_setfunc using that.
|
1.44 |
| 04-Mar-2007 |
christos | branches: 1.44.2; 1.44.18; 1.44.20; 1.44.24; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.43 |
| 16-Feb-2007 |
ad | branches: 1.43.2; More spllowersoftclock() fallout.
|
1.42 |
| 15-Oct-2006 |
martin | Initializers
|
1.41 |
| 01-Oct-2006 |
elad | Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
|
1.40 |
| 26-Jul-2006 |
martin | branches: 1.40.4; 1.40.6; Make it compile again
|
1.39 |
| 23-Jul-2006 |
ad | Use the LWP cached credentials where sane.
|
1.38 |
| 14-May-2006 |
elad | integrate kauth.
|
1.37 |
| 13-Feb-2006 |
cdi | branches: 1.37.2; 1.37.4; 1.37.6; ANSIfy: u_intN_t -> uintN_t, remove __P(), fix function definitions.
|
1.36 |
| 11-Feb-2006 |
cdi | ANSIfication: u_intN_t -> uintN_t, use ANSI function declarations/definitions instead of K&R ones.
|
1.35 |
| 11-Dec-2005 |
christos | branches: 1.35.2; 1.35.4; 1.35.6; merge ktrace-lwp.
|
1.34 |
| 06-Sep-2005 |
kleink | Change the driver open function's conditional for overriding exclusive tty use from checking the proc's uid to suser(9), and account for the use of privileges. Noted by David Holland in PR kern/31126.
|
1.33 |
| 25-Feb-2005 |
martin | branches: 1.33.4; Nuke options RASTERCONSOLE for sparc64
|
1.32 |
| 21-Mar-2004 |
pk | branches: 1.32.8; 1.32.10; Use the promlib I/O routines.
|
1.31 |
| 17-Mar-2004 |
pk | Use prom_getoption() and drop home-grown string-to-integer conversion code.
|
1.30 |
| 25-Aug-2003 |
uwe | Use dev/sun/fbvar.h instead of machine/fbvar.h (which is just an out of date copy of the former).
Compile tested with GENERIC32. Ok by Martin Husemann <martin@netbsd>.
|
1.29 |
| 25-Aug-2003 |
uwe | Undo previous as it broke things.
There are some scattered implicit RASTERCONSOLE dependencies, so there should be a better way.
|
1.28 |
| 24-Aug-2003 |
uwe | #include "opt_rcons.h"
|
1.27 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.26 |
| 29-Jun-2003 |
fvdl | branches: 1.26.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.25 |
| 29-Jun-2003 |
martin | Passing struct lwp * instead of struct proc * to device functions, replace a homegrown check with proper suser() call.
|
1.24 |
| 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.23 |
| 10-Oct-2002 |
jdolecek | tag the cdevsw as D_TTY
|
1.22 |
| 10-Oct-2002 |
martin | Pass a struct cons_channel * to cc_iclose, not a struct kbd_softc *. This argument has been previously unused, thus undetected due to void* typing. Mmm, copy & paste. Note that sparc got it right though.
Many thanks to Valeriy E. Ushakov <uwe@netbsd.org> for debugging support.
|
1.21 |
| 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.20 |
| 19-Mar-2002 |
eeh | branches: 1.20.4; Using PSR_PIL in conjunction with the IPL results in a comparison that is always true.
|
1.19 |
| 17-Mar-2002 |
atatat | Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
|
1.18 |
| 26-Sep-2001 |
eeh | branches: 1.18.4; getprop* -> PROM_getprop*
|
1.17 |
| 19-Sep-2001 |
thorpej | machine/fbio.h -> dev/sun/fbio.h
|
1.16 |
| 02-May-2001 |
scw | branches: 1.16.2; 1.16.4; Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
|
1.15 |
| 09-Nov-2000 |
eeh | branches: 1.15.2; Attach the sunkbd line discipline to zstty.
|
1.14 |
| 02-Nov-2000 |
eeh | Adapt to the new line discipline scheme.
|
1.13 |
| 21-Sep-2000 |
eeh | Sun Keyboard/Mouse line discipline support.
|
1.12 |
| 19-May-2000 |
eeh | Fix the sparc64 console.
Unlike the other Sun machines, UltraSPARCs can have consoles run on different chips than zs, so we need to support them. So, here we go:
Add a new PROM console driver with a major number and everything. This is the default driver if nothing else attaches. It does not use the keyboard driver since the PROM translates keystrokes itself. (Unfortunately it also swallows L1-A).
Have the keyboard driver take over the console when it attaches on a serial port. When a serial port detects a keyboard and attaches the keyboard driver, it needs to provide a set of consdev vectors. They keyboard driver will use those to send I/O to the keyboard and mouse.
|
1.11 |
| 23-Mar-2000 |
thorpej | New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
|
1.10 |
| 21-Mar-2000 |
pk | We need cons_attach_input().
|
1.9 |
| 20-Mar-2000 |
pk | Call rcons_ttyinit() on first open.
|
1.8 |
| 19-Mar-2000 |
pk | Nuke dead code.
|
1.7 |
| 19-Mar-2000 |
pk | Minimal changes to accomodate the console input channel attachment changes in the keyboard driver (see /sys/dev/sun/kbd*)
|
1.6 |
| 06-Mar-2000 |
thorpej | - Implement cnbell() -- ring the console bell. The cn_bell entrypoint is optional. - Add cn_bell to statically allocated consdevs as appropriate.
|
1.5 |
| 05-Aug-1999 |
thorpej | branches: 1.5.2; Change the semantics of splsoftclock() to be like other spl*() functions, that is priority is rasied. Add a new spllowersoftclock() to provide the atomic drop-to-softclock semantics that the old splsoftclock() provided, and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within interrupt context to extract random data (e.g. from within the softnet interrupt) where doing so would incorrectly unblock interrupts (causing all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc, XXX sparc64, and VAX. This platforms still have this bug until their XXX spl*() functions are fixed.
|
1.4 |
| 23-May-1999 |
eeh | Start putting in hooks for non-zs console devices.
|
1.3 |
| 22-May-1999 |
eeh | If the zs has not yet attached use the PROM for console input.
|
1.2 |
| 25-Apr-1999 |
eeh | Defer final console attach to zs_attach().
|
1.1 |
| 20-Jun-1998 |
eeh | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 20-Jun-1998 |
eeh | branches: 1.1.1.1.10; Import of sparc64.
|
1.1.1.1.10.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.5.2.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.5.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.15.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.16.4.4 |
| 13-Oct-2001 |
fvdl | Revert the t_dev -> t_devvp change in struct tty. The way that tty structs are currently used (especially by console ttys) aren't ready for it, and this will require quite a few changes.
|
1.16.4.3 |
| 11-Oct-2001 |
fvdl | Catch up with -current. Fix some bogons in the sparc64 kbd/ms attach code. cd18xx conversion provided by mrg.
|
1.16.4.2 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.16.4.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.16.2.3 |
| 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.16.2.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.16.2.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.18.4.5 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.18.4.4 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.18.4.3 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.18.4.2 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.18.4.1 |
| 26-Sep-2001 |
nathanw | file kd.c was added on branch nathanw_sa on 2002-04-01 07:43:03 +0000
|
1.20.4.1 |
| 19-May-2002 |
gehenna | Add device switch. Replace the access to devsw table and the hard-coded majors with devsw API.
|
1.26.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.26.2.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.26.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.26.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.26.2.2 |
| 26-Aug-2004 |
skrll | Adapt to branch.
sparc64 GENERIC compiles.
|
1.26.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.32.10.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.32.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.33.4.6 |
| 07-Dec-2007 |
yamt | sync with head
|
1.33.4.5 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.33.4.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.33.4.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.33.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.33.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.35.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.35.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.35.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.35.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.37.6.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.37.4.3 |
| 12-May-2006 |
elad | adapt to kauth kpi, include sys/kauth.h where needed..
|
1.37.4.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
1.37.4.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
I expect *some* lossage here...
|
1.37.2.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.37.2.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.40.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.40.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.43.2.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.44.24.2 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.44.24.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.44.20.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.44.20.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.44.18.2 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.44.18.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.44.2.2 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.44.2.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.46.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.47.14.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.47.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.48.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.48.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.49.28.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.49.22.1 |
| 31-May-2011 |
rmind | sync with head
|
1.50.14.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.50.14.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.50.4.2 |
| 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.50.4.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.51.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.52.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|