History log of /src/sys/arch/hpcmips/dev/mq200.c |
Revision | | Date | Author | Comments |
1.36 |
| 28-May-2022 |
andvar | fixed typo with another typo in my last commit. fixing it again.
|
1.35 |
| 28-May-2022 |
andvar | fix various typos, mainly in comments.
|
1.34 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.33 |
| 24-Apr-2021 |
thorpej | branches: 1.33.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.32 |
| 26-Jun-2015 |
matt | branches: 1.32.32; Cleanup includes
|
1.31 |
| 27-Oct-2012 |
chs | branches: 1.31.14; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.30 |
| 18-Mar-2009 |
cegger | branches: 1.30.12; 1.30.22; bzero -> memset
|
1.29 |
| 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.28 |
| 04-Mar-2007 |
christos | branches: 1.28.44; 1.28.52; 1.28.58; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.27 |
| 24-Sep-2006 |
jmcneill | branches: 1.27.4; Add "name" parameter to powerhook_establish, to aid debugging. No objections on tech-kern@
|
1.26 |
| 26-May-2006 |
blymn | branches: 1.26.6; 1.26.8; Clean up bogus whitespace
|
1.25 |
| 11-Dec-2005 |
christos | branches: 1.25.4; 1.25.6; 1.25.8; 1.25.14; merge ktrace-lwp.
|
1.24 |
| 12-Dec-2004 |
abs | branches: 1.24.10; Fix comments regarding configration bounaries
|
1.23 |
| 13-Nov-2003 |
chs | eliminate uvm_useracc() in favor of checking the return value of copyin() or copyout().
uvm_useracc() tells us whether the mapping permissions allow access to the desired part of an address space, and many callers assume that this is the same as knowing whether an attempt to access that part of the address space will succeed. however, access to user space can fail for reasons other than insufficient permission, most notably that paging in any non-resident data can fail due to i/o errors. most of the callers of uvm_useracc() make the above incorrect assumption. the rest are all misguided optimizations, which optimize for the case where an operation will fail. we'd rather optimize for operations succeeding, in which case we should just attempt the access and handle failures due to insufficient permissions the same way we handle i/o errors. since there appear to be no good uses of uvm_useracc(), we'll just remove it.
|
1.22 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.21 |
| 06-Aug-2002 |
itojun | branches: 1.21.6; integer overflow. from silvio@qualys.com
|
1.20 |
| 14-Apr-2002 |
takemura | branches: 1.20.2; 1.20.4; Fixed 8bpp problem of mq200.
|
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 |
| 16-Sep-2001 |
uch | branches: 1.18.4; ANSIfy, KNF.
|
1.17 |
| 22-Jul-2001 |
takemura | branches: 1.17.2; You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e. little endian like order, however, usage of 'HPCFB_SWAP_*' was widely misunderstood because it reminded you of 'RI_BSWAP' in raster operation. Please note that 'RI_BSWAP' indicate that frame buffer byte order is different from natural order of system while 'HPCFB_REVORDER_*' is independent of system byte order.
|
1.16 |
| 17-Jul-2001 |
toshii | "infomation" -> "information"
|
1.15 |
| 11-Jun-2001 |
sato | branches: 1.15.2; not set HPCFB_SWAP_BYTE.
|
1.14 |
| 26-Mar-2001 |
sato | o Change initialization for config_hook() base lcd control. o Fix backlight control in case that light is controlable but not be able to get status. o change some verbose prints.
|
1.13 |
| 25-Mar-2001 |
takemura | Add MQ200_USECRT option, which enables CRT output on MC/R530. This is kernel configuration option and you can't enable and disable CRT dynamically for now.
|
1.12 |
| 12-Mar-2001 |
sato | * assume backlight is on if backlight value cannot get. * move the lcd control codes used config_hook_call() in *_hardpower() to *_power().
|
1.11 |
| 09-Mar-2001 |
sato | support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO. lcd on/off
|
1.10 |
| 27-Feb-2001 |
sato | branches: 1.10.2; * add WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_CONTRAST, WSDISPLAYIO_PARAM_BRIGHTNESS supports.
|
1.9 |
| 22-Feb-2001 |
uch | hpc common files are moved to dev/hpc.
|
1.8 |
| 15-Feb-2001 |
sato | * show framebuffer address in boot time.
|
1.7 |
| 21-Jan-2001 |
takemura | Use rasops with 4bit depth.
|
1.6 |
| 05-Jan-2001 |
sato | - print debug message for WSDISPLAYIO_GETPARAM/WSDISPLAYIO_SETPARAM when boot verbose mode. for debuging LCD control and/or keyboard cmds.
|
1.5 |
| 21-Dec-2000 |
sato | fix sc->sc_fbconf.hf_offset calculation.
|
1.4 |
| 03-Dec-2000 |
takemura | Change hf_baseaddr usage. Now it potins frame buffer start address instead of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and you should use hf_offset only with mmap system call from userland.
|
1.3 |
| 26-Nov-2000 |
takemura | You can map mq200 registers as well as frame buffer. (This little change has already contains release 1.5 branch by my mistake)
|
1.2 |
| 02-Oct-2000 |
sato | branches: 1.2.2; - DPRINTF -> VPRINTF for verbose. - don't attach other video driver under hpcfb.
|
1.1 |
| 22-Jul-2000 |
takemura | branches: 1.1.2; Experimental MQ200 video driver. It's just copy of bivideo plus power management routine.
|
1.1.2.3 |
| 04-Sep-2002 |
itojun | pullup (itojun)
sys/arch/amiga/dev/grf_cv3d.c 1.11 sys/arch/hpcmips/dev/mq200.c 1.21 sys/arch/i386/i386/sys_machdep.c 1.64 sys/arch/luna68k/dev/lunafb.c 1.9 sys/arch/sparc/dev/bt_subr.c via patch sys/arch/sparc64/dev/bt_subr.c via patch sys/arch/sun3/dev/bt_subr.c via patch sys/compat/ibcs2/ibcs2_stat.c 1.21-1.23 sys/dev/sun/bt_subr.c 1.3 sys/dev/tc/cfb.c 1.34 sys/dev/tc/sfb.c 1.53 sys/dev/tc/xcfb.c 1.29 integer overflow. reported by silvio@qualys.com
|
1.1.2.2 |
| 06-Aug-2000 |
takemura | Pull up revision 1.1 (new, requested by takemura)
New power management function and MQ200 video power management driver.
|
1.1.2.1 |
| 22-Jul-2000 |
takemura | file mq200.c was added on branch netbsd-1-5 on 2000-08-06 03:56:41 +0000
|
1.2.2.7 |
| 27-Mar-2001 |
bouyer | Sync with HEAD.
|
1.2.2.6 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.2.2.5 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.2.2.4 |
| 05-Jan-2001 |
bouyer | Sync with HEAD
|
1.2.2.3 |
| 08-Dec-2000 |
bouyer | Sync with HEAD.
|
1.2.2.2 |
| 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.2.2.1 |
| 02-Oct-2000 |
bouyer | file mq200.c was added on branch thorpej_scsipi on 2000-11-20 20:46:04 +0000
|
1.10.2.2 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.10.2.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
1.15.2.4 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.15.2.3 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.15.2.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.15.2.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.17.2.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.18.4.4 |
| 13-Aug-2002 |
nathanw | Catch up to -current.
|
1.18.4.3 |
| 17-Apr-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 |
| 16-Sep-2001 |
nathanw | file mq200.c was added on branch nathanw_sa on 2002-04-01 07:40:24 +0000
|
1.20.4.1 |
| 07-Aug-2002 |
lukem | Pull up revision 1.21 (requested by itojun in ticket #616): integer overflow. from silvio@qualys.com
|
1.20.2.1 |
| 31-Aug-2002 |
gehenna | catch up with -current.
|
1.21.6.5 |
| 24-Jan-2005 |
skrll | Adapt to branch.
|
1.21.6.4 |
| 18-Dec-2004 |
skrll | Sync with HEAD.
|
1.21.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.21.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.21.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.24.10.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.24.10.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.24.10.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.25.14.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.25.8.1 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.25.6.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.25.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.26.8.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.26.6.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.27.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.28.58.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.28.52.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.28.44.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.30.22.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.30.22.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.30.12.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.31.14.1 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.32.32.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.33.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|