Commit Graph

34257 Commits

Author SHA1 Message Date
oster c8730b35e6 - move a bunch of function prototypes to rf_kintf.h
- general cleanup of a number of prototypes that were scattered around.
2000-01-09 01:29:27 +00:00
oster 08817bcd50 Nuke #if 0'ed code. 2000-01-09 01:12:05 +00:00
oster cdb6add0f7 Nuke desc->tid. 2000-01-09 00:00:18 +00:00
oster 37c75452f4 Time's up. This file is no longer needed. "toodles." *punt* 2000-01-08 23:54:26 +00:00
oster 418d4b8471 - more cleanup of rf_get_threadid() and debugging printfs 2000-01-08 23:45:05 +00:00
oster 524894d6f2 Make raidPtr a 'RF_Raid_t *' like it's supposed to be. 2000-01-08 23:02:16 +00:00
oster 04719e3adc - nuke calls to rf_get_threadid() and associated #include
- change a bunch of debugging printfs from
  "[%d] ...", tid   (where tid is the "thread id")
to
  "raid%d: ...", raidPtr->raidid
- other minor rototillage
2000-01-08 22:57:30 +00:00
uch ce3b031d6d TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
2000-01-08 21:07:02 +00:00
chopps 15e3ae96fb pass iso pdus to netiso 2000-01-08 20:46:29 +00:00
chopps f420a461a1 allow delivery of routing protocol pdus to `raw' sockets even when the
interface has no iso address
2000-01-08 20:39:45 +00:00
tron bfea30bc82 Regen. 2000-01-08 17:03:23 +00:00
tron 1433852cb6 Add missing system calls mlockall() and munlockall() as suggested by
Michael Eriksson in PR kern/9147.
2000-01-08 17:02:46 +00:00
dbj 5a458d0c73 resync with with hp300 port 2000-01-08 12:41:14 +00:00
dbj 2b4d2c0c58 add % to register names
use cpp macros for all symbol access
2000-01-08 12:38:27 +00:00
augustss e81e75d36b Regen. 2000-01-08 07:35:39 +00:00
augustss 903e37734d Add EXP Computer Inc. PCMCIA controller.
From Brad Spencer <brad@anduin.eldar.org> in PR 9140.
2000-01-08 07:34:49 +00:00
takemura 169eab5405 Update binary for MC-R530 and SHARP Mobilon HC-4100. 2000-01-08 05:25:44 +00:00
oster 23864e9422 Bail if rf_numParityRegions is not > 0. Cleanup a comment. 2000-01-08 05:13:26 +00:00
nisimura e9c36a5c33 Kludge to avoid a panic in badaddr() when no framebuffer is installed. 2000-01-08 04:40:25 +00:00
oster 0d2f49b054 Nuke stale comment. 2000-01-08 03:49:37 +00:00
oster e7fe279817 Minor cleanup. 2000-01-08 03:34:31 +00:00
takemura ba04c55ed3 Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
oster db96c5344b Nuke some (now) incorrect comments. More minor cleanup. 2000-01-08 02:04:06 +00:00
oster ef979643a7 Replace raidPtrs[unit] with just raidPtr, and assign the former to the
later early on in raidioctl().  Code is easier to read now too.
2000-01-08 01:52:42 +00:00
oster b9a1fe405c Minor tillage on the raidioctl() stuff. More cleanup to follow.
No functional changes.
2000-01-08 01:37:37 +00:00
oster a4ea38dbe8 Nuke an unneeded #ifdef (__NetBSD__) 2000-01-08 01:18:36 +00:00
simonb ee075b7de7 Function prototype cleanup. 2000-01-08 01:02:35 +00:00
mark 58465c9fcd Print leading zero when displaying the date in resettodr().
Fixes PR9129.
2000-01-07 23:43:45 +00:00
uch d998f29223 p7416buf and tc5165buf are merged. 2000-01-07 15:19:12 +00:00
uch db8644e2c9 4bit greyscale mode currently disabled. (change to 2bit greyscale) 2000-01-07 15:10:50 +00:00
simonb 576e373b42 Start of the "The Big Cleanup" - remove "ifdef alpha". This has
diverged enough from the alpha scc.c that keeping any pretence of
portability is not worth it.
2000-01-07 14:12:51 +00:00
oster 91273673e7 In RAIDFRAME_CONFIGURE, don't set values in raidPtrs[unit] unless
the configuration was successful.  Noted by Peter Galbavy of OpenBSD.
2000-01-07 13:57:20 +00:00
simonb 5f95b56bc8 Need to include <dev/wscons/wsconsio.h> for WSDISPLAY_FONTORDER_L2R. 2000-01-07 13:43:02 +00:00
msaitoh 08b1e4a63f enable cpu_coredump() 2000-01-07 12:01:00 +00:00
msaitoh bf26bfd683 defopt EXEC_COFF 2000-01-07 11:21:21 +00:00
msaitoh 665e9462e5 s/ECOFF/COFF/ (comment only) 2000-01-07 11:20:41 +00:00
pk a77d141b28 Deal with `24 bit' devices which can still be plugged into an Sbus slot. 2000-01-07 10:54:11 +00:00
msaitoh b3fa48ba9d implement send/recieve break signal routines 2000-01-07 10:50:14 +00:00
ad d1a62749c4 s/NVRCSR/NVR_CSR/ 2000-01-07 10:43:13 +00:00
msaitoh 049ad0d982 machine/exec_coff.h -> sys/exec_coff.h 2000-01-07 09:40:33 +00:00
nisimura 1aab1f58f9 Make consistent with other m68k ports fixing updates. 2000-01-07 09:09:35 +00:00
nisimura ddd5fcbf66 Remove tinfo_t symbols which result in never used global common variables. 2000-01-07 08:12:15 +00:00
itohy d154d07506 Rename variable "prep" for PReP port. 2000-01-07 06:44:30 +00:00
nisimura f28fd51814 - Make SCSI work; by kludges of machine/bus.h. TEAC streamer tape drive
found to be tweaked.  Need extensive verifications.
- Add wsmouse node under ws; not useful this moment.
2000-01-07 05:13:08 +00:00
oster bf2d4a40db rf_GetNextReconEvent() is already prototyped in rf_revent.h.
minor cleanup
2000-01-07 03:56:14 +00:00
oster 12dacda256 nuke one call to rf_get_threadid() and cleanup rf_State_Cleanup a bit. 2000-01-07 03:47:15 +00:00
oster bf081bf6eb Nuke: #include "rf_threadid.h" and call to rf_get_threadid(). 2000-01-07 03:43:39 +00:00
oster 48301a8dae Nuke: #include "rf_threadid.h". 2000-01-07 03:40:56 +00:00
enami 11fe38b6ad Restore the system priority level on error return. 2000-01-07 03:25:46 +00:00
oster e5ce17d0eb Nuke RF_DECLARE_GLOBAL_THREADID, rf_setup_threadid(), rf_shutdown_threadid(),
and rf_assign_threadid().  rf_threadid.h, your days are numbered.
2000-01-07 03:25:34 +00:00
enami fa8c26f547 Don't define WSDISPLAY_FONTORDER_L2R as 0. The function wsfont_lock uses
the value 0 specially.
2000-01-07 03:13:23 +00:00
oster 86f362fb97 Nuke unused #define. 2000-01-07 03:04:41 +00:00
oster 5f144eaa4b Shorten IO_BUF_ERR macro by one (unused) arg. 2000-01-07 03:03:44 +00:00
enami cadfd97e07 Replace WSFONT_L2R/R2L with WSDISPLAY_FONTORDER_L2R/R2L. 2000-01-07 02:57:17 +00:00
msaitoh 1020615169 use PSL_IMASK macro 2000-01-07 00:13:24 +00:00
mjacob 1204bc3a13 Bump up level of some very verbose debugs so that SCSIDEBUG doesn't cause them
to print.
2000-01-06 23:02:51 +00:00
augustss 81a78604bf Implement the ENABLE control for processig units. 2000-01-06 21:13:55 +00:00
drochner 86fb34705e clarify tss switch: remove bogus symbolic constant, add comment
no functional change
2000-01-06 18:41:24 +00:00
mjacob 4783eac2b8 add ST_MOUNT_DELAY options for st 2000-01-06 18:28:28 +00:00
uch f60ef90127 implement IT8368 legacy attr mode. Mobilon requires it. 2000-01-06 18:14:25 +00:00
uch 75961aa95f change overrun interrupt treatment. 2000-01-06 18:11:23 +00:00
uch 6c7f28e845 add debug draw routines. 2000-01-06 18:10:42 +00:00
uch f0d09739ad regen. 2000-01-06 18:08:54 +00:00
uch 06a9750042 add SHARP Mobilon HC-4100 entry. 2000-01-06 18:07:53 +00:00
itojun b1913eaa52 update tcp/udp v4 mapped addr issues. 2000-01-06 15:48:07 +00:00
itojun b3761abef8 remove extra portability #ifdef (like #ifdef __FreeBSD__) in KAME IPv6/IPsec
code, from netbsd-current repository.
#ifdef'ed version is always available from ftp.kame.net.

XXX please do not make too many diff-unfriendly changes, we'll need to take
bunch of diffs on upgrade...
2000-01-06 15:46:07 +00:00
leo a93741b5c7 Determine the default floppy type on the TT/Falcon by reading the config
switches. (Thanks to Michael Schwingen for the missing bits of information!).
2000-01-06 12:14:33 +00:00
leo 2b1c23376c Fix y2k buglet in /dev/rtc reported by Julian Coleman. Note that the input
and output format of /dev/rtc is now changed.
2000-01-06 12:03:31 +00:00
ad 2794212f20 Got too excited with cut and paste in previous. Noted by itojun. 2000-01-06 11:38:02 +00:00
is fc0b743e44 Fix comment. No code change. 2000-01-06 10:53:34 +00:00
itojun ec63b40402 remove too much portability code in KAME, to improve readability. 2000-01-06 07:31:07 +00:00
itojun 2e904aec57 make IPV6_BINDV6ONLY setsockopt available. it controls behavior of
AF_INET6 wildcard listening socket.  heavily documented in ip6(4).
net.inet6.ip6.bindv6only defines default value.  default is 1.

"options INET6_BINDV6ONLY" removes any code fragment that supports
IPV6_BINDV6ONLY == 0 case (not defopt'ed as use of this is rare).
2000-01-06 06:41:18 +00:00
shin 9243684aaa fix MC/R530 parameter. 2000-01-06 06:24:29 +00:00
shin 66198937f8 replace WSFONT_L2R by WSDISPLAY_FONTORDER_L2R to compile again. 2000-01-06 05:27:19 +00:00
simonb 770f6c71b8 Fix tyop in comment. 2000-01-06 05:22:07 +00:00
mjacob f90308c0b9 Bump default login time to 60 seconds. Move the spot at
which we claim we've seen the loop up at least once so
that we don't hang forever coming up. Add in the basics
for MI target mode stuff. Force the outer layers to deal
with a FCP response coming back that has a CHECK CONDITION
but no sense data.
2000-01-06 03:02:11 +00:00
mjacob 92f150a791 roll revision level and add some taret mode changes 2000-01-06 03:00:11 +00:00
mjacob 02f6f85175 add the enable target mode command, plus some minor fiddles 2000-01-06 02:59:43 +00:00
mjacob bc8be11468 add isp_print_qentry inline 2000-01-06 02:56:20 +00:00
itojun 2db2cab310 add missing net.inet6.ip6.rr_prune case. 2000-01-06 02:52:29 +00:00
oster 51380e0e8c - bail if we can't allocate memory for raid_softc's. Set 'numraid' as
appropriate for that condition.
- nuke some debugging stuff that we hope we'll never need again
- minor cleanups
2000-01-06 02:06:41 +00:00
nisimura 3bec20781c Fix a typo of screen size; pointed by tsubai. 2000-01-06 00:19:10 +00:00
mjacob dc86769bb7 Add in MI target mode code modules 2000-01-05 19:50:05 +00:00
ad 44ae4c89f4 - Update for changes to 'struct wsdisplay_font'.
- Add RCS Id string. This should probably be in 'othersrc'.
2000-01-05 18:49:13 +00:00
ad 59a1ab9791 Add two new members to 'struct wsdisplay_font': 'bitorder' and 'byteorder'. 2000-01-05 18:44:21 +00:00
ad a0d0bf907a Use pcdisplay_cursor_init(). 2000-01-05 18:27:47 +00:00
itojun 751017ffff avoid panic on getsockopt(ICMPV6_FILTER). 2000-01-05 16:46:18 +00:00
ad 8f3fd0d6b3 Spelling. 2000-01-05 16:28:39 +00:00
ad e75404417a Add and use pcdisplay_cursor_init(). Still a couple of nits with this, I
will resolve when I can test properly.
2000-01-05 16:14:35 +00:00
ad ea89296a61 Back out previous. A proper fix will follow. 2000-01-05 16:04:00 +00:00
takemura 42a0e30299 We can mmap frame buffer. Sorry, we had not been able to map it. 2000-01-05 15:12:42 +00:00
itojun a60e59b349 better sync with reality. 2000-01-05 13:19:36 +00:00
drochner f6ee10996d regen 2000-01-05 12:15:00 +00:00
drochner 28828c88e8 add Kubota Denali 2000-01-05 12:14:33 +00:00
drochner 6f64d1e85f regen 2000-01-05 11:32:43 +00:00
drochner 2abcb85b5f add some stuff which was mentioned on the mailing lists recently 2000-01-05 11:32:06 +00:00
drochner b32647d4ea replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[] 2000-01-05 11:19:36 +00:00
nisimura 95d00ea75d Introduce NetBSD/luna68k port into CVS repository. 2000-01-05 08:48:53 +00:00
mrg e7552e93d7 reverse (and fix) the logic of the other change; it cause semi-random alpha SIGABRT for longer command lines 2000-01-05 08:11:31 +00:00
oster d4dfa2a664 Make sure we really get something back from RF_Malloc before we use it. 2000-01-05 04:15:30 +00:00
oster 77ab4d1598 - update RF_CREATE_THREAD to handle a 'process name' argument.
- fire up a new thread for parity re-writes, copybacks, and reconstructs.
  The ioctl's which trigger these actions now return immediately.
- add progress accounting for the above actions.
- minor rototillage of rf_netbsdkintf.c to deal with all of the above.
2000-01-05 02:57:28 +00:00
simonb b1ab053e2c Ick - include pmioctl.h to get the pmEventQueue typedef needed for
qvssvar.h (needed for the mouseInit() prototype).  This _will_ be
cleaned up soon!
2000-01-04 23:15:03 +00:00
mjacob 182c6629c1 oops, bad patch 2000-01-04 22:47:12 +00:00
mjacob c763ef5b5d - If the user application issues an INITIALIZE ELEMENT STATUS which
succeeds, note that we now are valid.

- Don't attempt to try and run initialize element status from interrupt level-
  we don't really support that yet. Also, key more correctly off of ASC/ASCQ
  instead of just the sense key.

- Make the practice of doing an INITIALIZE ELEMENT STATUS automatically when
  we get params (from chopen time even) a policy decision that is not the
  default for now- this can be a dangerous practice as well as time consuming.
  It's dangerous in that you can have a hung open when all you really want
  to do is do a read of parameters- and parameters, including slot status,
  are perfectly fine to read even before an INITIALIZE ELEMENT STATUS is
  done- all the elements whos status your read are going to be marked with
  an exception- so leave it up to the application to decide how important
  this is.
2000-01-04 22:35:57 +00:00
wrstuden 56f2ef9f29 Revert rev 1.28 -> 1.29. The VOP_CLOSE call was happeneing with the vnode
already locked, so don't lock it here.
2000-01-04 21:37:54 +00:00
pk 8cbc7288d0 * Expand IOMMU DVMA space to top of address space.
* Remove confusing comments.
2000-01-04 15:08:30 +00:00
kleink 693059feda const -> __const and include <sys/cdefs.h> earlier; fixes PR lib/9052
by Takahiro Kambe.
2000-01-04 14:20:05 +00:00
itojun 7fe7bda8e2 enable INET6. commit for boot floppy fix should follow.
add awi0 and cnw0 (commented out)
2000-01-04 08:05:49 +00:00
chopps 7d96c007f0 add ntwoc* at pci, and a commented out ntwoc0 at isa. 2000-01-04 06:58:54 +00:00
chopps 9b1cc42371 move ntwoc here now that we have isa and pci attachments 2000-01-04 06:37:05 +00:00
chopps d8a4f43d0f convert to support non-dma IO (for the isa Riscom/N2).
allow the user to set and use the internal baud rate generator
fix the transmission ring logic to support more than 1 frame per interrupt
add autodetection of the base clock frequency.
cleanup the receive ring logic
support dynamically resizing the low-water mark on the fifo in response
	to buffer underruns on transmit.
2000-01-04 06:36:29 +00:00
chopps a4d9bd9484 Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.
2000-01-04 06:31:39 +00:00
chopps 882236e45c add if_ntwo_isa driver for the Riscom/N2 card. 2000-01-04 06:30:04 +00:00
chopps 93bc2af93e Add Riscom/N2 isa driver, most of the probe code was adapted from the
freebsd if_sr.c driver.
2000-01-04 06:29:21 +00:00
is 2e3d1cc048 The Ricoh chip has a seperate leapyear counter.
We must write this when we write the year register, keeping them in sync.
XXX the chosen algorithm only works for 1901 <= year <= 2099.
2000-01-03 21:52:14 +00:00
is d14968078a Write part of the y2k fix.
This is not strictly necessary, as
- at least for the Ricoh chip in the A3000 and A4000, as those chips' Y10
  registers happily continue to count up from 0xA if manually incremented
  past 0x9.
- the Amiga ROMs and "setclock" commands seem to interpret 0xA 0x? like
  200?, etc.

However,
- the Amiga setclock writes the modulo 10 value into the chips
- the chip docs of both chips, including the Y2K information of their
  manufacturers, only refer to the range 0-9
- the chips increment from 9 to 0

So we better conform to this, to avoid unpleasant surprises.
2000-01-03 20:30:51 +00:00
uch f56a7d0967 clean up boot message. 2000-01-03 18:29:03 +00:00
uch c6376f2e26 Change tx_poll_establish implementation and interface. 2000-01-03 18:24:03 +00:00
takemura 74ea35cd39 Now you can specify Windows raw device no to load the kernel in the style:
n:/netbsd (n=1..9)
2000-01-03 05:59:40 +00:00
msaitoh 518cfb0bde userret() if the user process will be killed.
Now the NetBSD/sh3 works very stable!
2000-01-03 02:55:25 +00:00
msaitoh b0b4797dfb don't clobber r4 and r5 2000-01-03 02:40:04 +00:00
is 5614cd4fce *sigh*
Y2000-patch for A2000, A3000 and A4000 battery backed clock modules,
mostly by Adam Ciarcinski.
2000-01-02 18:29:22 +00:00
itojun 07c2fe1cd9 add net.inet6.icmp6.nodeinfo sysctl.
this allows you to disable/enable ICMPv6 node information query/reply
processing (which tells remote end the gethostname(3) setting, interface
addresses on the node, and some other things - documented in
draft-ietf-ipngwg-icmp-name-lookup* or something alike).

to test it, try ping6 -w ::1 with nodeinfo=0 and nodeinfo=1.
(sync with kame change)
2000-01-02 16:31:17 +00:00
msaitoh af97804fa9 add exec_coff.h 2000-01-02 13:43:00 +00:00
msaitoh b75406e24f remove exec_coff.h 2000-01-02 13:40:55 +00:00
msaitoh da3eeac505 EXEC_COFF cleanup 2000-01-02 13:39:49 +00:00
sommerfeld 9aeb6a25d2 minor KNF tweaks 2000-01-02 02:08:07 +00:00
sommerfeld b38548c58d On a cold suspend to disk, the Sony VAIO Z505 BIOS appears to not
preserve enough of the state of the PCIC to keep it interrupting on
card insertion/removal..

Add a power hook to notice if the CSC_INTR device register is zeroed
on resume, and if so, reset it to a sane value.
2000-01-01 21:57:45 +00:00
ad 6d88cc0622 - Make sense out of comment on dpt_wait().
- Trivial streamlining of logic in dpt_poll().
2000-01-01 19:56:59 +00:00
mycroft 40d251bc94 Update for y2k. 2000-01-01 05:00:03 +00:00
shin 28087acb02 Change COPTS to "-Os -mmemcpy" for size reduction.
Suggested by Simon Burge.
2000-01-01 04:46:22 +00:00
shin 54fac7be8f add MSDOSFS
delete redundant kernel 'config' lines.
add new option '-b={wd0,sd0,nfs}' to change boot device.
2000-01-01 02:22:35 +00:00
shin 7626f63930 compile kernel with
-mips2 -G 32
for size reduction. Suggested by Castor Fu.
2000-01-01 02:15:38 +00:00
eeh a7474fcab6 netbsd32_close() would work better if it called sys_close() rather than
sys_write().
netbsd32_getfsstat() cannot just copyin()/copyout(), convert the structures,
and call sys_getffstat().  sys_getffstat() wants to do its own
copyin()/copyout().  So we need to implent the whole of sys_getffstat()
in netbsd32_getfsstat().
1999-12-31 22:26:21 +00:00
uch b4e898bafb Fix MCS3 address. 1999-12-31 16:07:29 +00:00
ad 50fcd347dd Comment px0 entry a little more accurately. 1999-12-31 12:21:06 +00:00
is 715da299de assign the pointer 1999-12-31 08:38:13 +00:00
tsubai e362a13605 Add zs softint definition. (I forgot to commit this...) 1999-12-31 08:15:48 +00:00
simonb a58b73afb3 Remove duplicate
#com*  at boca? slave ?
line.
1999-12-31 00:14:56 +00:00
hubertf e9e9f381a1 Add an entry for the Trident Microsystems CYBER 9525
(as found in an Toshiba Satellite 2650 XDVD).
1999-12-31 00:12:41 +00:00
pk 4681e48204 Remove private kernel members from `struct fpreg'; update accompanying comment. 1999-12-30 23:59:29 +00:00
hubertf ac50ee0e91 Add an entry for the Trident Microsystems CYBER 9525
(as found in an Toshiba Satellite 2650 XDVD).
1999-12-30 23:53:42 +00:00
is b41bac45fe Assign copyright to TNF and add license. 1999-12-30 21:09:56 +00:00
is 99943b2c6b Rewrite of the Amiga bus_space machinery to prepare for the support of
the generic IDE driver and the PCMCIA slots.
1999-12-30 20:56:44 +00:00
eeh e71251703c Revamp 32-bit syscall entry points.
Change in-kernel FPU usage conventions.
1999-12-30 16:57:27 +00:00
uch d136e27a9c Before attach card, check card is detected. 1999-12-30 16:50:43 +00:00
eeh 98e266aba9 Update COMPAT_NETBSD32 stuff. 1999-12-30 16:42:10 +00:00
eeh 54b99fdd8b Lots of changes:
remove ffs()
	add bzero that uses block store insns
	save %gsr to fpstate
	revert to physical accesses for pmap_zero_page so we don't
		have conflicting page mappings
	general cleanup.
1999-12-30 16:39:53 +00:00
eeh fe12b863f3 Add proc->md->fpstate and GSR to fpstate. 1999-12-30 16:35:25 +00:00
eeh 32834060c6 Fixup 64-bit type conversion issues. 1999-12-30 16:34:02 +00:00