Commit Graph

42 Commits

Author SHA1 Message Date
lukem 06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
uch aade7a10ce cosmetic changes 2002-05-09 12:41:09 +00:00
uch 1cbf8597ef adapt to new pmap code. 2002-05-09 12:37:58 +00:00
takemura f8cb4c37a0 Fixed debug print. 2002-05-03 07:31:23 +00:00
takemura 090be59325 Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
        arch/hpcsh/dev/hd64461/hd64461video.c   Rev. 1.7 to 1.8
        arch/hpcmips/dev/plumvideo.c            Rev. 1.23 to 1.24
        arch/hpcmips/tx/tx3912video.c           Rev. 1.24 to 1.25
2002-04-13 09:29:53 +00:00
uch 260c29f029 rework HD64461, HD64465 interrupt handling. 2002-03-28 15:26:59 +00:00
uch e8300f3659 adapted to new interrupt code and shb changes. 2002-03-24 18:21:08 +00:00
atatat 31144d9976 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.
2002-03-17 19:40:26 +00:00
uch 7592c6aa95 don't initialize twice 2002-03-03 14:34:36 +00:00
uch 7166e5033d platform dependent HD64461 PCMCIA module (power supply). 2002-03-03 14:34:00 +00:00
uch 6042c0a3fc Initial support for KGDB on the sh3. 2002-03-02 22:26:25 +00:00
uch bbc655c4fb Cleanup register definition 2002-02-28 01:56:57 +00:00
uch a3757d3ba3 fix LCD byte-order setting. 2002-02-19 14:21:47 +00:00
uch 000bb38949 SH3/SH4 common kernel support. 2002-02-17 21:01:15 +00:00
uch b67fd34c0f HD64465 interrupt, uart, pcmcia modules 2002-02-11 17:27:15 +00:00
uch d310eb6303 MQ100 (HD64464) register, framebuffer offset define. 2002-02-11 17:25:00 +00:00
uch f27eb3ee07 add primitive serial console debug routine. 2002-02-11 17:21:48 +00:00
uch 12d7b235bc {} -> do {} (0) 2002-02-11 17:20:18 +00:00
uch c8a89ad160 KNF 2002-02-11 17:19:04 +00:00
uch d7868a7885 HITACHI HD64465 UART module register define. 2002-02-04 17:23:44 +00:00
uch 7d17099353 clean up debug print and configuration. 2002-01-29 18:53:01 +00:00
uch 415a0562eb clean up debug print and configuration. 2002-01-27 05:15:35 +00:00
soren 875bff0962 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
atatat 52c50e165b Use more parentheses to make the compiler happy. 2001-12-05 22:16:30 +00:00
uch 3c8a8fb72e HITACHI PERSONA support. patch by KIYOHARA Takashi 2001-10-08 15:34:24 +00:00
uch a902597034 debug printf change. 2001-09-14 17:12:43 +00:00
uch a970042213 HITACHI PERSONA keyboard support. patch by KIYOHARA Takashi. 2001-09-14 17:11:51 +00:00
jdolecek 74954dadf9 use unsigned variable types as appropriate 2001-08-05 18:07:51 +00:00
takemura 64b6b76a21 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.
2001-07-22 09:56:39 +00:00
uch e71868d339 cosmetic changes. 2001-07-13 16:21:39 +00:00
uch eb255ec7a8 fix interrupt, voltage supply bug of channel 1.
(patch by Masanori Kanaoka).
2001-07-13 16:14:29 +00:00
uch 18d4a16bc4 #ifdef notyet power on/off sequence code. it doesn't work. 2001-07-04 18:08:01 +00:00
uch 2f94a06e98 HD64461 frame buffer is big-endian. set HPCFB_SWAP_BYTE. 2001-06-05 17:24:48 +00:00
uch 842b6023c3 HD64461 video module. 2001-06-04 17:08:36 +00:00
uch 9fc37d32af remove non-existent function declaration. 2001-04-19 18:24:16 +00:00
uch 207066edaa fix comment. 2001-04-19 18:22:34 +00:00
uch 39081f8af1 make HD64461 UART module usable on HITACHI PERSONA 2001-03-20 16:03:28 +00:00
uch 054158f994 HD64461 UART module support. 2001-03-15 17:30:55 +00:00
uch 41207e71d6 channel 1 interface don't provide fake pcmcia io space tag. 2001-03-08 15:13:14 +00:00
uch 27e08ba42c fix matrix switch initial value. 2001-03-02 19:21:53 +00:00
uch f4cdccec01 Jornada 690 keyboard driver (matrix switch connected SH3 PFC module) 2001-02-24 19:58:00 +00:00
uch df5e8f68d8 HD64461 driver (SH3 companion chip for Windows CE) 2001-02-21 15:39:09 +00:00