tsutsui
99e1f5f2d1
Include "ioconf.h" for struct cfdriver *_cd decls.
2005-03-14 12:50:33 +00:00
tsutsui
31cb734598
Include "ioconf.h" for struct cfdriver *_cd decls.
2005-02-19 16:31:49 +00:00
tsutsui
b611bd6446
Allocate struct todr_chip_handle in struct rtc_softc rather than
...
using MALLOC(9).
2005-02-10 16:07:38 +00:00
chs
37436571dd
make this compile with DEBUG.
2005-02-05 16:19:35 +00:00
tsutsui
2be3acc29a
u_intNN_t -> uintNN_t
2005-01-02 12:03:12 +00:00
yamt
05f25dcc2a
move buffer queue related stuffs from buf.h to their own header, bufq.h.
2004-10-28 07:07:35 +00:00
yamt
96d1da145d
fix printf formats to match with sys/buf.h 1.75.
2004-09-22 09:56:18 +00:00
thorpej
8657dbc0c8
Remove the last vestiges of COMPAT_NOLABEL. It's been 10 years; label
...
your disks already.
2004-08-28 17:45:24 +00:00
thorpej
8ca927b486
Use ANSI function decls, static, and const.
2004-08-28 17:37:00 +00:00
tsutsui
f2e7679255
Fix usage of NULL, '\0' and "" again.
2004-05-31 14:04:59 +00:00
tsutsui
2f3bdc714c
Handle CAPSLOCK correctly. Fixes port-hp300/4689.
2004-05-31 13:40:04 +00:00
matt
22120ad628
Constify the speedtab arrays
2004-04-25 06:23:40 +00:00
wiz
3f9411f688
Spell removable with only two es. Inspired by jmc@openbsd.
2004-04-19 12:44:09 +00:00
tsutsui
ae6d7b8002
It turns out that not only HP425e but other HP4xx models also require
...
COM_HW_NOIEN for APCI com(4) ports.
Now I can login HP425t via both com[12] at frodo0.
2004-04-10 07:51:15 +00:00
tsutsui
6052b99ae3
"extern char *us_keymap" is not equivalent with "extern char us_keymap[]"
...
in prototype declarations.
Now hilkbdcngetc() works on "unknown" keyboards with proper default map.
2004-04-10 04:06:48 +00:00
tsutsui
d010f57a21
Include "ite.h" before the first reference of NITE.
...
Fixes panic with unknown type keyboards (including JP one).
2004-04-09 11:55:27 +00:00
tsutsui
25fa76b1ba
Don't panic when kernel tries to print a horizontal tab via itecnputc().
2004-04-08 17:41:50 +00:00
tsutsui
68fc876f21
Check mapped device VA by badaddr() in cnattach functions for framebuffers.
...
Now consinit() no longer hangs at least on HP425t with Topcat console.
2004-04-08 17:39:37 +00:00
tsutsui
f8cd9ac4fd
Adjust FRODO_BASE macro since com_frodo uses bus_space_map(9)
...
which takes offset from intiobase instead of KVA.
Now com* at frodo? is probed properly.
(but not tested because I don't have a special cable for apci ports yet)
2004-04-07 13:41:10 +00:00
tsutsui
0af71a11f1
Adjust fd_name in struct frodo_device frodo_subdevs[]
...
since MD apci(4) has been switched to MI com(4).
2004-04-07 13:34:47 +00:00
wiz
f05e6f1a3a
occured -> occurred. From Peter Postma.
2004-02-24 15:12:51 +00:00
jmc
43bf89bfc6
Fixes from PR#23177. Various lint/logic fixes:
...
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing
Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
tsutsui
3aa8405cb9
Regen from diodevs rev 1.7:
...
> Change device ID for 98624A HP-IB from 0x80 to 0x01.
> nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:59:25 +00:00
tsutsui
ff8bdea2e8
Change device ID for 98624A HP-IB from 0x80 to 0x01.
...
nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:57:35 +00:00
tsutsui
b6c031f59c
TAB/space cleanup.
2003-11-17 14:37:59 +00:00
tsutsui
f009006333
Remove obsolete files by MI com(4) driver support.
2003-11-08 11:22:11 +00:00
tsutsui
30f361a050
Move apcireg.h and dcareg.h to stand/common since they are no longer used
...
by kernel.
2003-11-08 11:19:30 +00:00
tsutsui
63b14eb5b6
Switch DCA and APCI serial devices to use MI com(4) driver.
...
DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
2003-11-08 11:18:33 +00:00
tsutsui
93e8757186
Replace (a bunch of) NULL with '\0'. (we should define NUL?)
2003-10-26 16:15:55 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
tsutsui
16cf56440e
Move dev/scsireg.h into stand/common since it is no longer used by kernel.
2003-08-01 01:25:44 +00:00
tsutsui
0da9bed83e
Switch hp300 to MI SCSI with MI mb89352 SPC SCSI driver (at last),
...
and remove old hp300 MD oscsi support derived from 4.4BSD-Lite2.
2003-08-01 01:18:39 +00:00
tsutsui
7c9baaa885
Add "oddbyte" bus_space(9) access ops for DIO devices which have
...
odd byte address space.
2003-08-01 00:29:16 +00:00
tsutsui
7a65036308
Modify hp300 bus_space(9) structures/functions to add hooks to override
...
access functions. This is required by some DIO devices to use MI drivers.
2003-08-01 00:23:17 +00:00
tsutsui
7d2ff25d49
Rename clockattach() to todr_attach().
2003-07-19 02:39:27 +00:00
tsutsui
acc15558d0
Some cosmetics on bus_space_tag_t initialization.
2003-07-05 16:57:04 +00:00
tsutsui
f60951ffdb
Initialize bus_space_tag in rtc_softc properly in rtcattch().
2003-07-05 16:48:12 +00:00
tsutsui
2dcba30bb6
cosmetics
2003-07-05 16:21:17 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
thorpej
f4fff81d3a
Adapt to ktrace/lwp changes.
2003-06-29 15:49:49 +00:00
darrenr
960df3c8d1
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
...
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
tsutsui
6eced4bc4e
Fix part number in comment.
...
hp300/dev/scsireg.h says it's HP 98265A SCSI, and
I can't find any description about 98658.
(typo of 98568A backplane expander?)
2003-05-25 05:09:26 +00:00
tsutsui
33ae4dd814
Regen from diodevs rev 1.6:
...
> Fix part number of DIO SCSI interfaces.
> It should be 98265A, and 98625A is fast HP-IB interface.
2003-05-25 04:59:57 +00:00
tsutsui
de711bc064
Fix part number of DIO SCSI interfaces.
...
It should be 98265A, and 98625A is fast HP-IB interface.
2003-05-25 04:56:36 +00:00
gmcgarry
8e726b5268
Clean-up the DIO bus. Includes two main changes:
...
1) Pass address and ipl locators at attachment;
2) Remove hack which made the internal HP-IB controller
look like a DIO device.
The hack to allow the nhpib driver to support internal and DIO
controllers appears to be a leftover from 4.3BD where it was not
possible to have a driver attach to different busses. NetBSD has
supported bus-dependent attachments for a long time.
2003-05-24 06:21:21 +00:00
gmcgarry
9687966318
Fix from Steve Peurifoy in PR#18849:
...
"Occasionally a blocking open of dcm port 0 will hang in ttyopen()
waiting for carrier detect to be asserted when it's already
present.
The problem is that dcmmint() will return before updating the
value of sc->sc_mcndlast if the device is not open. If carrier
detect drops after the device is closed, sc->sc_mcndlast will
no longer correctly represent the "previous" state of the
signals when the next transition of carrier detect occurs.
A subsequent blocking open will wait forever for an event
which has in fact taken place."
2003-05-04 02:10:07 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
dsl
d91455ce26
Change return type of readdisklabel() to const char *
...
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
thorpej
65d98ed786
Use PAGE_SIZE rather than NBPG.
2003-04-01 20:41:36 +00:00
thorpej
bba7685f5f
Update for consdev changes.
2003-03-06 18:24:52 +00:00