History log of /src/sys/dev/ic/lptvar.h |
Revision | | Date | Author | Comments |
1.56 |
| 07-Mar-2008 |
cube | Split the softc from the device_t for all lpt(4) variants and attachments except the ppbus stuff (which doesn't compile) and ulpt(4) which is unrelated and can be dealt with separately.
As usual, it comes with related cosmetic changes.
|
1.55 |
| 22-Feb-2008 |
dyoung | Add methods to detach lpt at isa.
|
1.54 |
| 09-Oct-2007 |
ad | branches: 1.54.14; 1.54.18; Defer wakeup() to a soft interrupt, since lptintr() can be called above IPL_SCHED.
|
1.53 |
| 11-Dec-2005 |
christos | branches: 1.53.30; 1.53.44; 1.53.46; 1.53.48; merge ktrace-lwp.
|
1.52 |
| 27-Feb-2005 |
perry | branches: 1.52.4; nuke trailing whitespace
|
1.51 |
| 04-Feb-2005 |
perry | de-__P
|
1.50 |
| 23-Mar-2000 |
thorpej | branches: 1.50.28; 1.50.36; 1.50.38; 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.49 |
| 15-Aug-1998 |
mycroft | branches: 1.49.12; Make copyright notices with my name consistent.
|
1.48 |
| 02-Feb-1998 |
cgd | Implement a flag to indicate that the driver attached correctly. This is useful in the case where an attachment's probe routine verifies that there is indeed hardware present but something goes "wrong" in the attach causing the device to be unusable. (Without keeping track of this, in that case incorrect ports could be accessed or uninitted pointers could be deferenced on open or at other times.)
|
1.47 |
| 07-Dec-1997 |
thorpej | Use malloc()/free(), not geteblk()/brelse(), for the device buffer.
|
1.46 |
| 14-Oct-1997 |
is | branches: 1.46.2; Finalize the isa/lpt.c split: The isa attachment code is in isa/lpt_isa.c now, which attaches to the already created ic/lpt* files. You don't need to change your config files, but you need to re-"config" if using lpt at isa. XXX The "lpt" device definition should be in sys/conf/files instead, but to my knowledge, there are some ports which have private copies of lpt, and would choke on that. No need to make people unhappy 7 days before release branching.
|
1.45 |
| 27-Sep-1997 |
is | branches: 1.45.2; First part of splitting lpt.c, and the NetBSD/Amiga "supio" frontend. Needs a bit more work to allow an ISA frontend.
|
1.44 |
| 02-Sep-1997 |
mikel | add missing argument to LPRINTF() declaration; from Geoff Wing in PR 4072. I also made inclusion of LPRINTF() dependent solely on the symbol LPTDEBUG, initialized lptdebug variable to 0 instead of 1, and matched arguments to format strings in LPRINTF() calls.
|
1.43 |
| 05-Dec-1996 |
cgd | branches: 1.43.10; update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
|
1.42 |
| 21-Oct-1996 |
thorpej | New bus.h implementation/interface: - No more distinction between i/o-mapped and memory-mapped devices. It's all "bus space" now, and space tags differentiate the space with finer grain than the bus chipset tag. - Add memory barrier methods. - Implement space alloc/free methods. - Implement region read/write methods (like memcpy to/from bus space). This interface provides a better abstraction for dealing with machine-independent chipset drivers.
|
1.41 |
| 13-Oct-1996 |
christos | backout kprintf changes
|
1.40 |
| 10-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.39 |
| 12-May-1996 |
mycroft | Use intr.h.
|
1.38 |
| 29-Apr-1996 |
christos | - Fix gcc -Wall warnings - BUG: if (error = ...() == EWOULDBLOCK)
|
1.37 |
| 11-Apr-1996 |
cgd | update for addition of a machine-dependent cookie as the first argument to isa_intr_{,dis}establish().
|
1.36 |
| 10-Apr-1996 |
mycroft | Add explicit return types.
|
1.35 |
| 18-Mar-1996 |
cgd | since this driver tries to block its interrupt with spltty(), it must attach that interrupt with IPL_TTY.
|
1.34 |
| 17-Mar-1996 |
cgd | clean up <machine/bus.h> changes a bit; no real functional change. prototype lpt_port_test().
|
1.33 |
| 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.32 |
| 08-Mar-1996 |
cgd | convert to use I/O mapping/access macros in <machine/bus.h>. Mostly mechanical changes, except for probe/attach, which have to map (and, in the case of probe, unmap) the I/O space that the chip will use.
|
1.31 |
| 24-Dec-1995 |
mycroft | The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
|
1.30 |
| 17-Apr-1995 |
cgd | clean up several ISA device interfaces: autoconfiguration, header inclusion, and interrupt configuration. more work still needs to be done, but it's getting better...
|
1.29 |
| 29-Jan-1995 |
cgd | lip service to making ISA support machine-independent. This is the first round: moving the drivers into a machine-independent directory. Some drivers (e.g. fd.c) not moved because they use other pc features (e.g. CMOS settings), and none of the non-driver files moved, because they're still pretty much PC specific. eventually (when other ports with ISA busses really start using this code), more 'high-level' ISA support will live here.
|
1.28 |
| 26-Jan-1995 |
mycroft | Don't check the control port at all; too unreliable.
|
1.27 |
| 22-Jan-1995 |
mycroft | Rearrange tests so `offline' has higher priority than `out of paper'.
|
1.26 |
| 03-Jan-1995 |
mycroft | Add interrupt sharing types.
|
1.25 |
| 18-Nov-1994 |
mycroft | Convert port, IRQ, and DRQ numbers to ints.
|
1.24 |
| 30-Oct-1994 |
cgd | be more careful with types, also pull in headers where necessary.
|
1.23 |
| 27-Oct-1994 |
cgd | new RCS ID format.
|
1.22 |
| 16-Jun-1994 |
mycroft | branches: 1.22.2; b_un.b_addr -> b_data
|
1.21 |
| 27-May-1994 |
mycroft | Only print the blasted messages *once* per error.
|
1.20 |
| 23-May-1994 |
cgd | turn off spontaneous printing of messages when DEBUG turned on
|
1.19 |
| 05-May-1994 |
mycroft | Remove now-bogus cast.
|
1.18 |
| 05-May-1994 |
cgd | lots of changes: prototype migration, move lots of variables, definitions, and structure elements around. kill some unnecessary type and macro definitions. standardize clock handling. More changes than you'd want.
|
1.17 |
| 22-Apr-1994 |
mycroft | Don't need isa.h.
|
1.16 |
| 07-Apr-1994 |
mycroft | Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls. Reorganize and clean up the relevant code.
|
1.15 |
| 29-Mar-1994 |
mycroft | Updates for new autoconfig.
|
1.14 |
| 06-Mar-1994 |
mycroft | DELAY() --> delay(). This is not a macro.
|
1.13 |
| 19-Feb-1994 |
mycroft | Speed it up a little...
|
1.12 |
| 19-Feb-1994 |
mycroft | Minor tweak of no importance.
|
1.11 |
| 18-Feb-1994 |
mycroft | Combined version from magnum branch. Somewhat faster and less buggy.
|
1.10 |
| 09-Feb-1994 |
mycroft | All ioctl routines take a struct proc * now.
|
1.9 |
| 20-Dec-1993 |
mycroft | Canonicalize all #includes, and add pio.h where appropriate.
|
1.8 |
| 28-Sep-1993 |
cgd | get rid of stray printfs (turn them into "lprintf"s)
|
1.7 |
| 17-Jul-1993 |
mycroft | branches: 1.7.4; Make these files GCC 2 happy.
|
1.6 |
| 15-Jun-1993 |
mycroft | Ignore interrupts if the device isn't open. This prevents stray interrupts from hosing the works. What a stupid architecture.
|
1.5 |
| 05-Jun-1993 |
cgd | patch from rgrimes to add delay to let data port stabilize, also make "lpflag" unique to each driver
|
1.4 |
| 22-May-1993 |
cgd | add include of select.h if necessary for protos, or delete if extraneous
|
1.3 |
| 18-May-1993 |
cgd | make kernel select interface be one-stop shopping & clean it all up.
|
1.2 |
| 07-May-1993 |
cgd | fix lpt driver and add lpa driver. from 386bsd pk patch 133
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.7.4.18 |
| 16-Feb-1994 |
mycroft | Avoid two minor race conditions; no real differences.
|
1.7.4.17 |
| 29-Oct-1993 |
mycroft | Force the printer closed even if the final pushbytes() fails.
|
1.7.4.16 |
| 29-Oct-1993 |
mycroft | Make sure pushbytes() returns 0 on success.
|
1.7.4.15 |
| 29-Oct-1993 |
mycroft | Ignore the bottom 3 bits when checking for printer ready.
|
1.7.4.14 |
| 29-Oct-1993 |
mycroft | Make some debugging code in the probe routines #ifdef DEBUG.
|
1.7.4.13 |
| 27-Oct-1993 |
mycroft | Add lptforceintr(), but disabled for now. Add some debugging code.
|
1.7.4.12 |
| 18-Oct-1993 |
mycroft | We can't determine lpt interrupts dynamically.
|
1.7.4.11 |
| 17-Oct-1993 |
mycroft | When an error occurs, at least say what it is before hanging.
|
1.7.4.10 |
| 16-Oct-1993 |
mycroft | Add missing dv_class entry to cfdrivers, and use dv_xname where appropriate.
|
1.7.4.9 |
| 12-Oct-1993 |
mycroft | Minor cleanup.
|
1.7.4.8 |
| 11-Oct-1993 |
mycroft | #include pio.h where needed, and remove cpufunc.h.
|
1.7.4.7 |
| 07-Oct-1993 |
mycroft | Don't #include isa.h.
|
1.7.4.6 |
| 06-Oct-1993 |
mycroft | Finish reformatting. Turn interrupt on or off as appropriate in lptopen().
|
1.7.4.5 |
| 01-Oct-1993 |
mycroft | #include "machine/cpu.h"
|
1.7.4.4 |
| 30-Sep-1993 |
mycroft | Change some uses of IRQUNK to IRQNONE. #include isa.h and icu.h.
|
1.7.4.3 |
| 30-Sep-1993 |
mycroft | clock.c: Remove unnecessary casts. com.c: Update for new config. Add bis() and bic() macros like BSDI's. Add comspeed() and tiocm_xxx2mcr() from BSDI. comreg.h: Add COM_FREQ, COM_TOLERANCE, and COM_NPORTS. fd.c: Remove casts and clean up fdioctl(). [lm]ms.c: Add necessary gunk to [lm]ms_softc and remove casts.
|
1.7.4.2 |
| 29-Sep-1993 |
mycroft | lms.c: Update for new config. lpa.c: Defunct. lpt.c: Update for new config. Fix handling of interrupted writes. Merge code from lpa driver. Make all operations interruptible. Remove a few other bogons. lptreg.h: Add LPT_NPORTS. pccons.c: Merge changes from trunk.
|
1.7.4.1 |
| 14-Sep-1993 |
mycroft | New i386 code.
|
1.22.2.1 |
| 23-Nov-1994 |
cgd | make sure to do an untimeout. for patch_04
|
1.43.10.1 |
| 04-Sep-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.45.2.3 |
| 15-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.45.2.2 |
| 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.45.2.1 |
| 27-Sep-1997 |
thorpej | file lptvar.h was added on branch marc-pcmcia on 1997-10-14 10:22:51 +0000
|
1.46.2.1 |
| 07-Dec-1997 |
thorpej | Pull up from trunk: Use malloc()/free(), not geteblk()/brelse().
|
1.49.12.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.50.38.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.50.38.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.50.36.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.50.28.2 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.50.28.1 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.52.4.3 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.52.4.2 |
| 27-Feb-2008 |
yamt | sync with head.
|
1.52.4.1 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.53.48.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.53.46.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.53.46.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.53.44.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.53.30.1 |
| 12-Oct-2007 |
ad | Sync with head.
|
1.54.18.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.54.14.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|