Commit Graph

34257 Commits

Author SHA1 Message Date
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
eeh 724cd7eda1 Mark page table pages as wired rather than busy. 1999-12-30 16:31:18 +00:00
eeh f1985e61f9 Add bootblk directory and only compile things on sparc64 machines. 1999-12-30 16:27:54 +00:00
eeh 58379b85fa Make CLKF_INTR() more intelligent. 1999-12-30 16:26:18 +00:00
eeh 75402069b7 Use absolute size structures for H/W registers. 1999-12-30 16:25:17 +00:00
eeh 01dc4c4451 Update 32-bit sigcontext structures. 1999-12-30 16:24:33 +00:00
eeh 0e853e8d4a struct core32 is now in MI headers. 1999-12-30 16:22:12 +00:00
eeh 2c1410f883 Implement PMAP_PREFER(). 1999-12-30 16:21:25 +00:00
eeh 4558c5bfb7 Add the %gsr to our fpstate structure. 1999-12-30 16:20:43 +00:00
eeh 0e53075800 Switch libkern back to a library 'cause bzero's back in locore.s. 1999-12-30 16:19:00 +00:00
eeh c0ac678704 I should have made uvm_page_physload() take paddr_t's instead of vaddr_t's.
Also, add uvm_coredump32().
1999-12-30 16:09:47 +00:00
eeh 3bd42b03a7 Make getcwd_common() available to COMPAT_NETBSD32 code as well. 1999-12-30 16:01:34 +00:00
eeh f293acc959 Dump cores for 32-bit processes. 1999-12-30 16:00:23 +00:00
eeh b142754870 Handle args for 32-bit emulation processes properly. 1999-12-30 15:59:26 +00:00
eeh 7aeaf762e5 Move netbsd32_exec BEFORE normal 32-bit exec so 32-bit binaries are not executed
on 64-bit kernels without emulation mode.
1999-12-30 15:57:31 +00:00
eeh c31ab38252 Add prototype for cpu_coredump32() 1999-12-30 15:53:09 +00:00
eeh cadfe4867c Add dtime_t for on-disk time_t so we can fix the Y2038 problem. 1999-12-30 15:51:35 +00:00
eeh fd992f88b0 Make sure the elf_args strucure is appropriate for the size of the ELF binary. 1999-12-30 15:48:19 +00:00
eeh 65ff6824ed Added a 32-bit compatibility process flag. 1999-12-30 15:46:16 +00:00
eeh 9701a23cec Format for 32-bit core images. 1999-12-30 15:45:09 +00:00
eeh a65e57bfc6 Update to 32-bit compatibility routines. 1999-12-30 15:40:45 +00:00
hubertf ac80f7c7ac add disabled entry for options APM_DISABLE_INTERRUPTS=0 1999-12-30 04:18:51 +00:00
cgd 71a030cab6 avoid 'marching unit numbers' for cloning devices. (e.g., previously,
if you com* at pcmcia?, and com3 and com4 as pcmcia cards, and removed
and reinserted the card that was com3, it would become com5.  if you then
removed and reinserted com4, it would become com6.  etc.)  Now, instead
of incrementing FSTATE_STAR configuration entries for a driver when
a cloning instance is attached, leave it alone, and scan the device softc
array (starting at the first cloning unit number) for units which are
available for use.  This wastes a tiny bit of time (can require a linear
scan of the softc table for the device), but device attachment should be
relatively infrequent and the number of units of each type of device
is never particularly large anyway.
1999-12-30 01:03:43 +00:00
simonb 49ee67c77e Include qvssvar.h to get mouseInput() prototype. 1999-12-30 01:01:48 +00:00
simonb 5c8cb4e2a7 Make some functions static which aren't used anywhere else. Remove local
function definitions that are already in qvssvar.h.
1999-12-30 00:57:29 +00:00
simonb 644ff8f7ed Include <pmax/pmax/cons.h> instead of <dev/cons.h> to get RCONSDEV.
That file includes <dev/cons.h>.
1999-12-30 00:31:02 +00:00
simonb 88edf446c2 s/lk_mapchar/lk_reset/. 1999-12-30 00:29:53 +00:00
tron a3f8a54bf4 Regen. 1999-12-29 21:29:02 +00:00
tron 5228e12283 Add vendor and product code for Solid Year USB keyboard provided by
Ichiro Fukuhara in PR kern/9070.
1999-12-29 21:28:31 +00:00
pk f152d57aa2 Make sure to reset the FP queue when loading new values into FP registers. 1999-12-29 15:21:27 +00:00
hannken 2b8c4ea32e Fix IS_DATA and IS_TEXT. PF_X and PF_W are valid on p_pflags, not p_ptype. 1999-12-29 11:08:02 +00:00
veego a7c3d2263b Fix a panic which was mentioned on the ipfilter mailing list.
Patch from Darren send to the mailing list after he released 3.3.6 and
did a bad job with using the wrong way to update the NetBSD version
of ipfilter.
1999-12-29 08:19:07 +00:00
tsutsui bcfe791812 Modify software interrupt handling a bit. 1999-12-29 05:01:13 +00:00
castor 7fc2807b2b Make SOFTFLOAT emulation compatible with _MIPS_BSD_API_LP32_64CLEAN 1999-12-29 04:41:12 +00:00
assar c2de858715 add a typedef `sy_call_t' for the function type used in `struct
sysent'
1999-12-28 23:16:49 +00:00
kleink 1e9bb239a3 Off-by-one error in limiting the DMAC buffer size for Audio 2 to 64K (actually
64K - 1); from Dave Sainty in PR kern/9064.
1999-12-28 19:26:26 +00:00
tsubai a1da0497d2 Remove two panic conditions.
XXX untested.
1999-12-28 13:49:20 +00:00
darrenr 1904e0a218 update ipfilter code to 3.3.6 1999-12-28 07:14:53 +00:00
takemura 3e0dc7b316 VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
1999-12-28 03:15:16 +00:00
kleink f6655d0f7e Fix a buffer KVA comparison botch in eso_mappage(); from Dave Sainty in
PR kern/9062.
1999-12-28 01:39:38 +00:00
matt 6b0de2aa24 Off by one error in station events. 1999-12-27 22:41:04 +00:00
castor 2a0deb6e74 Add code to ensure delay slot is printed when disassembling. 1999-12-27 21:12:25 +00:00
castor cf643fe983 Add macro for MIPS_PHYS_MASK and document use of bits in system status
registers.
1999-12-27 20:05:06 +00:00
uch 02464c54d0 Implement PCMCIA controller power up/reset. 1999-12-27 18:49:20 +00:00
msaitoh 941be5884f computex(computex.co.jp)'s evaluation board. 1999-12-27 11:17:14 +00:00
msaitoh b682f09cbb fix missing SCI IRQ mask/unmask code. 1999-12-27 10:50:41 +00:00
itojun cc6ad7e2cc synchronize in6pcb flags definition across kame/*bsd.
this would help us implement future COMPAT_{FREE,OPEN}BSD{,I}.

(sync with kame)
1999-12-27 06:38:47 +00:00
itohy 38e8851905 - Unmuting an external input source (CD playback, line input, and speaker)
now prevents power down/save the device.
  The external input sources are muted by default at initialization.
- Change "power.power.*" to "power.save.*".  Sorry, spec change....
- Shorten tsleep(9) ident string for "ps l".
1999-12-27 03:21:56 +00:00
takemura 0818609296 Update version no and executable binary for Compaq Aero 1530. 1999-12-27 01:56:18 +00:00
soren 841d4966c3 Lower-case Bus-Master for consistency. 1999-12-26 21:46:23 +00:00
msaitoh d73af2f624 use _C_LABEL() 1999-12-26 20:32:11 +00:00
jun 3c457707e6 add
Compaq Aero 1530
1999-12-26 17:27:53 +00:00
jun c81c09d71b regen. 1999-12-26 17:21:59 +00:00
jun 667e234adf add platid:
Compaq Aero MODEL 1530
1999-12-26 17:21:03 +00:00
itojun 8be54624ce add lines for boca 16-port serial card (BB2016), commented out. 1999-12-26 17:07:23 +00:00
uch d034b79aa3 clean up. 1999-12-26 17:06:02 +00:00
uch 124aa3ecd0 totaly rewritten. 1999-12-26 17:05:28 +00:00
tsutsui 2b643fda30 Oops, forgot to add scsibus* at ncr? 1999-12-26 13:02:24 +00:00
tsutsui 79a990ffa1 Add ncr* at pci? 1999-12-26 11:39:16 +00:00
tsutsui f1a6ac445d Use htole32() and le32toh() instead of SCR_BO().
XXX Should we still keep non-NetBSD part?
1999-12-26 10:41:22 +00:00
tsubai fa34872358 Use software interrupt. 1999-12-26 09:05:38 +00:00
shin fbae81d242 regen. 1999-12-26 05:51:25 +00:00
shin 5723de16d3 add platid for MC/R530, INTERTOP CX310(IT310). 1999-12-26 05:50:59 +00:00
augustss 5034afeb8e Regen.
And Merry Christmas!
1999-12-25 21:56:37 +00:00
augustss 878c0331ff Alphabetize. 1999-12-25 21:55:59 +00:00
scottr 97a60329d2 Apparently, the Mac TV is a re-packaged Performa 550. Add code to
recognize this so that Mac TV users can finally ditch the MRG_ADB option.
1999-12-25 08:16:34 +00:00
augustss 60ca103a0c Regen. 1999-12-24 21:03:00 +00:00
augustss e3ab0a35b1 Some minor name changes. 1999-12-24 21:02:38 +00:00
augustss 337c668339 Regen. 1999-12-24 18:03:32 +00:00
augustss 8dde7d012c Add a few Ethernet adapters. 1999-12-24 18:03:05 +00:00
minoura 58b3ac77bd Give up support of 4MB RAM machines for standard sysinst-based installer.
Restricted small installer must be used on those machines.
1999-12-24 17:02:13 +00:00
minoura 7330ce45ef Replace shell script version of newdisk utility with C version.
Add the man page newdisk(8).
1999-12-24 16:51:24 +00:00
augustss 6e2f22c70f Turn on the MAXP bit in the controller to allow 64 byte packets at
the end of a frame.
1999-12-24 13:56:35 +00:00
msaitoh 1d5d46cad0 round_page(data_segment_size), too 1999-12-24 08:32:58 +00:00
msaitoh 05781b11af back to previous one (suggested by cgd) 1999-12-24 08:29:23 +00:00
itojun 559075a711 make sure we do not pass bogus socket pointer to IPv4 IPsec.
XXX we (KAME) are trying to invent cleaner way to pass socket pointer to
ip{,6}_output... so please permit this mess for now.
1999-12-24 05:01:33 +00:00
augustss 3150a2103c Reverse the sign on the wheel data. I got it wrong from the start. 1999-12-24 01:14:01 +00:00
tron e1e62b88e3 Correct description of "vnd" pseudo device. 1999-12-24 00:15:50 +00:00
leo 384bdc532b Implement the DIOCKLABEL ioctl. Through this ioctl it it possible keep the
disklabel on the last close or to drop it.
1999-12-23 21:23:19 +00:00
augustss aafe48897d Regen. 1999-12-23 19:46:27 +00:00
augustss c1ea7e7feb Add the WebGear Aviator2.4 card. No driver yet, though. :( 1999-12-23 19:45:56 +00:00
matt 711fcf6e2f Add some defensive code to the unsolicited event printing 1999-12-23 18:14:59 +00:00
uch 36380814c1 coding style clean up. 1999-12-23 17:24:30 +00:00
uch 26125dde8a Fix tx39clock_get bug. 1999-12-23 16:58:48 +00:00
uch 0028029538 Add TX39IO_MFIOOUTPORT_OFF option (debugging use) 1999-12-23 16:58:07 +00:00
uch 9481f398a2 Detect overrun interrupt. and add spl. 1999-12-23 16:57:14 +00:00
uch 115925987c Off LCD power when serial console. 1999-12-23 16:56:16 +00:00
pk 2afd4d3aec * remove full duplex modes for the internal transceiver
* internal transceiver needs to be reset for the BMSR_LINK bit to
  be even remotely reliable
* because of previous, maintain link state, so we won't be sensing speed
  all the time when interface flags need to be changed (e.g. entering/exiting
  promiscuous mode)
* in auto-speed mode, report link condition changes on the console
1999-12-23 16:39:56 +00:00
ad 103246974d xcfbreg.h is essentially a copy of ims332reg.h with 3 xcfb specific board
offsets defined. Nuke it.
1999-12-23 16:07:58 +00:00
ad 7cc038239e More variable naming pedantry. 1999-12-23 15:42:06 +00:00
ad 977ce29db3 Rectify the jumbled naming scheme of routines in lk201.c. Function names
are now lower case and prefixed by 'lk_'. XXX lk_mouseinit() is bogus. It
belongs somewhere else.
1999-12-23 15:34:17 +00:00
ad e05b646600 mouseInput() should not be declared here. 1999-12-23 15:27:14 +00:00
tron 68aee765d1 Revert symbol definition check. 1999-12-23 15:23:52 +00:00
tron ff2d10d6a3 Don't try to include "null.h" while compiling bootblocks. 1999-12-23 14:07:36 +00:00
tsubai 3a04d046b7 Fix typo. 1999-12-23 11:45:32 +00:00
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
kleink eff3e8d84e Oops, I didn't mean to remove <sys/inttypes.h> in the previous revision. 1999-12-23 09:10:18 +00:00
tsubai a2928f3d68 Remove 2 more unnecessary debugging codes. 1999-12-23 07:06:44 +00:00
tsubai 9909053174 * Apply updates from Shimizu-san received after the initial commit.
* G/C unused.
* Many cosmetic changes.
* etc...
1999-12-23 06:52:30 +00:00
takemura 98a2a24647 New button handler and power controller with configurable hooking mechanism. 1999-12-23 06:26:08 +00:00
tsubai dd30883b03 Comment out -DBOOT_DEBUG. 1999-12-23 01:41:11 +00:00
tsubai 8a56c134db Delete lines that I didn't intended to commit. 1999-12-23 01:40:06 +00:00
wrstuden ba7b2b4124 Make the bitfields in here work on big-endian machines. How this ever
worked is unclear.

Patch from thorpej, tested by me.
1999-12-23 00:15:12 +00:00
augustss 0e7b1b9ec1 Use the flags `locator' to govern if devices are detected early or
late during cold boot.
1999-12-22 23:54:09 +00:00
simonb 89b100b1a2 Get 2100/3100 model number correct (test was reversed). Bug report and
patch from Scott G. Akmentins-Taylor on port-pmax.
1999-12-22 22:10:07 +00:00
kleink c07f17e8d9 For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.
1999-12-22 21:26:15 +00:00
thorpej 7ec3575193 Update for BAT{U,L}() changes. 1999-12-22 18:57:47 +00:00
thorpej db1042f3bc Update some comments. 1999-12-22 18:57:12 +00:00
pk 7ab5ad7988 Streamline media code a bit by some `pseudo-mii' code designed to handle
the on-board transceiver.
1999-12-22 16:05:12 +00:00
uch 508a4e8fd6 Implement TX3912/22 clock/timer module. 1999-12-22 15:35:33 +00:00
tsubai 1bc5465424 Remove unnecessary debugging code. (not intended to commit) 1999-12-22 08:16:45 +00:00
tsubai 70289b0f99 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:55:24 +00:00
tsubai c594e4d0a3 news5000 support. 1999-12-22 05:54:41 +00:00
tsubai ea69e534d2 * news5000 support.
* mips3_VCE[DI] now support L2CacheLSize != 32.
1999-12-22 05:54:18 +00:00
tsubai efaa549162 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:53:21 +00:00
jun 2db6d32929 FIX:
port-mips/9016 [serious/medium]:
        MIPS FPU emulator points wrong epc on exception case

	Responsible:    port-mips-maintainer (NetBSD/mips Portmasters)
	State:          open
	Class:          sw-bug
	Originator:     Shuichiro URATA
	Release:        current 12/11/1999
	Arrival-Date:   Fri Dec 17 10:18:00 1999
commit patch
     http://www.a-r.org/~ur/softfloat1211.diff.gz
     by Shuichiro URATA (ur@a-r.org)
1999-12-22 04:54:14 +00:00
itojun dc0f1c0435 drop IPv6 packets with v4 mapped address on src/dst. they are illegal
and may be used to fool IPv6 implementations (by using ::ffff:127.0.0.1 as
source you may be able to pretend the packet is from local node)
1999-12-22 04:03:01 +00:00
itojun a51908ee11 fix compilation on sun3x.
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
1999-12-22 03:58:12 +00:00
msaitoh 8427734872 move sysctl definitions into ${MACHINE}/include/cpu.h 1999-12-21 22:19:16 +00:00
msaitoh 1e7bb23911 add some register definitions 1999-12-21 22:06:04 +00:00
msaitoh 5517154d15 check _STANDALONE 1999-12-21 21:48:19 +00:00
msaitoh 67f8a5ca5b fix the usage of .align 2 1999-12-21 21:41:56 +00:00
pk f037f3be7e Shuffle some code around to allow two PHYs to attach. Only one PHY can
be used at a time, but it's now possible to select one by using ifconfig(8)'s
`instance' parameter.
1999-12-21 21:07:42 +00:00
frueauf 60332c17b5 As per Chris G. Demetriou <cgd@netbsd.org> don't install
loadfile_machdep.h into /usr/include/hp300/, instead create a
link for machine and hp300 in ${.OBJDIR} like
sys/arch/alpha/stand/Makefile.buildboot does for alpha.
1999-12-21 21:06:26 +00:00
msaitoh 79f94c37ab G.C. 1999-12-21 18:21:53 +00:00
msaitoh 4f62c264c8 ".align 2" for mova instruction 1999-12-21 17:46:54 +00:00
drochner a4cab38506 add rcsid + copyright
one more include file
1999-12-21 16:06:31 +00:00
drochner 5d8a0c0ddd add a function which prints out the memory descriptors (for debugging) 1999-12-21 14:22:54 +00:00
drochner b7b6c4bb4f machdep.c is becoming an unmaintainable mess
put console initialisation into a separate file
1999-12-21 12:34:11 +00:00
drochner caaf1beab2 change decoding function to return multiple symbols per keypress
(through the "internal" structure), derive a METAESC flag from the
layout variant and translate ALT-<key> into ESC <key> if the flag is set
1999-12-21 12:02:04 +00:00
drochner 54e8bcd294 add a symbol for keyboard variant bits which are not handled by the
mapping code
1999-12-21 11:59:13 +00:00
drochner fc4003355e introduce a METAESC keyboard variant bit 1999-12-21 11:57:59 +00:00
drochner b95651b752 set carrier early if used as console or kgdb line, fixes PR kern/6547
by Andreas Gustafsson, gson@iengines.com
1999-12-21 11:04:36 +00:00
pk 03c8221ad0 Use BMSR to test for `negotiation complete'; the alternative bit in the
LXT vendor register 20 is latching high and resets to low on read causing
subsequent status request to return `IFM_NONE'.
1999-12-21 10:47:00 +00:00
tsutsui 386f0ea7b6 Typo. 1999-12-21 08:37:36 +00:00
pk bbbbfe896e * Remove spurious blockade in the path to get the transceiver status word.
* Make sure to flip the 10baseT/100baseTX bit when doing autoselect.
* Miscellaneous cosmetics.
1999-12-20 22:23:39 +00:00
pk d135edf1a7 #define the bit positions of the MIF I/O lines. 1999-12-20 22:19:11 +00:00
fvdl 655a7bf795 Always unlock the "fnode", even if we're about to free it, to keep
lock counts consistent. DIAGNOSTIC checks will barf otherwise.

XXX ntfs_ntput should not free the node, the reclaim vop should do it
XXX why does the ntfs code do its own internal locking?
1999-12-20 22:11:57 +00:00
frueauf 8870b49ed5 Add loadfile_machdep.h to includes to be installed - this makes
sys/arch/hp300/stand/* compile again.
1999-12-20 20:45:56 +00:00
frueauf 176df8913d Make this compile again:
NEWIP6OUTPUT gets no longer defined, revers logic to use OLDIP6OUTPUT.
1999-12-20 20:27:14 +00:00
jdc c8b93382ef Added envsys.h 1999-12-20 09:49:51 +00:00
jdc 016b030623 Added tctrl.h 1999-12-20 09:49:20 +00:00
haya 35a9d47da9 Maintanance for Ricoh RL5C475. VAIO 505TX uses this chip. 1999-12-20 08:11:42 +00:00
itojun ea516ae96d based on recent discussion on ipngwg, use XNET definition for
sockaddr_storage.  next revision of RFC2553 will be using this.

ss_len and ss_family are now available for userland programmers.
1999-12-20 06:18:45 +00:00
itojun 8bd9534970 avoid shared cluster mbuf overwrite on multicast packet loopback.
(bsdi and freebsd fixed this a long time ago...)

PR: 9020
From: pavlin@catarina.usc.edu
1999-12-20 05:46:33 +00:00
mjacob 67944140cf oops, got the initiator and initiator/target f/w reversed for the 1080 1999-12-20 04:25:56 +00:00
tsutsui 2f3ba68db9 Add more SCR_BO(). NCR53c875 now works on macppc.
XXX All SCR_BO() macros should be replaced with htole32() or le32toh().
1999-12-20 03:37:06 +00:00
augustss a1352b2625 Make sure tsleep() is not called during cold boot. 1999-12-20 02:12:23 +00:00
scottr 1c5a093819 Make this compile without bpf. Problem noted by Bob Nestor, fix from
Frederick Bruckman.
1999-12-20 01:06:40 +00:00
mjacob 5babd2b8c9 get back to looking at config flags 1999-12-20 00:49:58 +00:00
mjacob 955d4bb00b clean up some f/w revision stuff. clean up some dualbus stuff. 1999-12-20 00:39:16 +00:00
mjacob 83931d33df clean unused fwrev stuff 1999-12-20 00:38:21 +00:00
mjacob 8f18ef5b45 restore (by request) CFGPRINTF to DIAGNOSTIC level kernels 1999-12-20 00:37:49 +00:00
mjacob be6fe10ee6 get back to looking at config flags 1999-12-20 00:33:17 +00:00
mjacob 775b699ee1 add in initiator mode only f/w versions 1999-12-20 00:22:56 +00:00
augustss 33f8460f90 Change the way the initial configuration value is picked.
Idea from Matthias Drochner <M.Drochner@fz-juelich.de>
1999-12-18 23:22:54 +00:00
augustss 33cf622176 Add another debug printf. 1999-12-18 22:51:58 +00:00
augustss e284dc9cfd Make these files compile on 64 bit archs. 1999-12-18 22:47:11 +00:00
pk 85a78db7b1 Add support for selecting a PHY (i.e. built-in transceiver vs. external MII
device) by using media/instance parameters.
1999-12-18 14:05:37 +00:00
tsubai 3b2d2cffe1 Introduce bootinfo. 1999-12-18 08:01:25 +00:00
tsutsui 7374a44f77 Use bswap32() as SCR_BO() macro to avoid unexpected side effects.
SCR_BO(*src++) caused some trouble.
1999-12-18 07:57:03 +00:00
tsubai 4d08b56ebd Use hb_intr_establish(). 1999-12-18 06:54:05 +00:00
tsubai 3488febf81 Move dma_intr() to here. 1999-12-18 05:00:56 +00:00
thorpej a7f264fd2f Update for BATU()/BATL() changes. 1999-12-18 01:37:00 +00:00
thorpej 8fc6795a77 - Comment the BAT bits.
- Add defintions for the PowerPC 601 BATs.
- Change the BATU()/BATL() macros to be a bit more flexible; allow size,
  permissions, etc. to be specified.
1999-12-18 01:36:06 +00:00
thorpej 05684a14e6 Comment the MSR bits, and note which ones are not present on the PowerPC 601. 1999-12-18 01:34:15 +00:00
thorpej 0352041467 Hardware Implementation Dependent registers for the PowerPC 601. 1999-12-18 01:33:45 +00:00
drochner 5257d9712e regen 1999-12-17 17:19:11 +00:00
drochner 289c969284 add Intel 450NX stuff 1999-12-17 17:18:48 +00:00
pk 60eeab910b Avoid feeding negative values to the `roundup()' macro.
Configure the MII management interface earlier.
1999-12-17 14:37:15 +00:00
pk aaffba693c Fix status bit symbols strings.
Rename MII receives enable bit to be in sync with the STP2002 datasheet.
1999-12-17 14:34:25 +00:00
augustss b58b4d7541 Regen. 1999-12-17 14:07:45 +00:00
augustss 593f478d64 Add a 3Com camera. 1999-12-17 14:07:21 +00:00
augustss 6b1620b095 Remove extra #endif so we can compile again. 1999-12-17 14:06:43 +00:00
augustss b7b9264da6 Regen. 1999-12-17 14:00:12 +00:00
augustss 78ba345df3 Change the Galileo entries so the generated code can be compiled. 1999-12-17 13:59:44 +00:00
fvdl 8b98cf56b6 Deal with cable problems gracefully. From Onno van der Linden. 1999-12-17 08:26:31 +00:00
msaitoh 45cbcdba34 round textsize only if the binary is demand-pagable
(for backward compatibility)
1999-12-17 08:25:35 +00:00
jeremy a1c67d1d61 Renamed a temporary variable in pmap_enter() that conflicted with the
name of the new 'flags' argument, added as part of the new pmap_enter() API.
Added a comment which explains why there are still sun3x-specific flags
being passed in the unused bits of the physical address, and how these flags
are independent of the new 'flags' argument.
1999-12-17 08:10:59 +00:00
tsubai 4990e1cf94 Move common objects and libraries to common/. 1999-12-17 07:40:09 +00:00
tsubai 03ff4cb4df Moved to common/romcalls.S,v 1999-12-17 07:33:21 +00:00
tsubai 0271e4c36a Moved from bootxx/romcalls.S,v 1999-12-17 07:33:20 +00:00
jeremy d6a3f7a016 Added inet_addr.c to the list of required modules from the kernel stand
library.
1999-12-17 07:28:01 +00:00
thorpej 6926d0d4b1 Hand-tuned pmap_zero_page(). 1999-12-17 07:24:05 +00:00
tsubai be68900e77 Add interrupt level locator and use it instead of hard-coding. 1999-12-17 06:05:37 +00:00
tsubai 5577683a2b s/-G0/-G 0/ 1999-12-17 03:24:33 +00:00
tsubai 9df2e626d6 Use hb_intr_establish(). 1999-12-17 03:21:10 +00:00
tsubai 8a2b8d9a8b Implement hb_intr_establish(). 1999-12-17 03:06:13 +00:00
ad 3fc9d6b40e Indicate that rcons is a dead end and that doing something more wsconsish is
recommended.
1999-12-17 01:41:52 +00:00
soren 3017275313 Regen. 1999-12-17 01:04:47 +00:00
soren fd4557865d Fix comment. 1999-12-17 01:04:29 +00:00
soren bf75bd8856 Regen. 1999-12-17 01:03:45 +00:00
soren fdab32f446 Add Galileo Technology system controllers.
Remove obsolete ID database URL.
1999-12-17 01:02:03 +00:00
garbled e89216c73c avoid uninterruptable sleep on a CMD_REQ ioctl. 1999-12-17 00:32:25 +00:00
abs 43838a47fd Add back cut Cardbus_conf_write/cardbus_conf_write lines. 1999-12-16 21:04:10 +00:00
thorpej 18ab712015 Provide cpu_boot_secondary_cpus(). 1999-12-16 20:24:58 +00:00
thorpej a07b7d60e2 Garbage-collect. 1999-12-16 20:20:11 +00:00
thorpej 81f44f09a5 - Remove a misguided attempt to use procs as idle contexts for secondary
processors.  Instead, allocate separate idle PCBs for them (including
  the primary -- don't use proc0's for its idle context).
- Use SysValue to store the cpu_info for each processor.
1999-12-16 20:17:22 +00:00
thorpej 51fcba3845 Explicitly set secondary processors in motion before calling uvm_scheduler(). 1999-12-16 19:59:17 +00:00
msaitoh e7924755fa - round_page(ep_tsize). This fixes a bug which cause panic in pmap_enter_pv().
- DPRINTF cleanup.
1999-12-16 16:50:08 +00:00
tron 885afa5fce Regen. 1999-12-16 15:13:41 +00:00