Commit Graph

37204 Commits

Author SHA1 Message Date
groo 3a77b18fd7 name change; rl -> rtk. Still commented out. 2000-04-22 21:03:27 +00:00
ragge 8b94e15772 Fix boot block countdown on 4000/60. Easy to add for other 4000 machines also. 2000-04-22 20:29:58 +00:00
ragge a47bd10baa Use RAISEIPL on all workstations. 2000-04-22 18:11:27 +00:00
augustss 5ea1af4bf4 Regen. 2000-04-22 18:07:19 +00:00
augustss f468f877de Add some CMedia audio devices. From T.SHIOZAKI <AoiMoe@imou.to> 2000-04-22 17:32:02 +00:00
mrg 1013298c2a whole bunch of changes:
- merge IOMMU DVMA code from sbus/psycho into iommu.c.  this code was
  identical and a few minor inconsistencies had crept in.  this way
  keeps them all in sync.
- with this code gone from psycho, merge the psycho.c and psycho_bus.c
  files.  same with ebus/ebus_bus.c.  delete the _bus.c files.
- add a _ds_boundary member to the dma segment structure, so that later
  dma mappings can find this value.
- set _ds_boundary in machdep.c:_bus_dmamem_alloc().
- kill much dead code.
2000-04-22 17:05:59 +00:00
ragge 3a90b3236e Forgot a protection #define.
Make use of raise-spl.
2000-04-22 17:05:07 +00:00
ragge 8c7cf8f008 Add device switch entry for RL disks. Only uses rom to boot so far. 2000-04-22 16:52:23 +00:00
ragge cab5a24c60 Recognize RL02 as boot device. 2000-04-22 16:50:44 +00:00
ragge 9b8f75bee1 Add "rl" disk. 2000-04-22 16:48:53 +00:00
ragge 11379e0ab6 Add the famous "rl" disk. 2000-04-22 16:46:45 +00:00
ragge cbf7514ca6 Detect "rl" as root device. 2000-04-22 16:43:47 +00:00
mrg db956d0701 s#\b#\n# so an error message appears correctly. 2000-04-22 16:42:25 +00:00
thorpej bedbdf87a4 rl -> rtk 2000-04-22 16:28:48 +00:00
uch 298fbbd162 fix VP3_CFG_INTR_MASK 2000-04-22 15:00:41 +00:00
tsutsui 5f992b6d2b Rename rl -> rtk. 2000-04-22 13:13:21 +00:00
mrg 5aa4575432 - convert to DPRINTF() style debug messages.
- kill dead code.
- use the sbus dv_xname to construct a dvma map map, to pass to
  extent_alloc(), to help support multiple sbusses
2000-04-22 12:36:29 +00:00
mrg 6e576e3c03 clean up mdallocsys(). 2000-04-22 12:03:33 +00:00
ragge dd22df3dc8 Ops, forgot to commit this. 2000-04-22 08:19:49 +00:00
groo 7c6a2dcd6d name change; rl -> rtk 2000-04-22 06:56:20 +00:00
thorpej cf0a940b9f Add a pnpbios front-end to the pckbc driver. This is a littke wonky
yet.. the keyboard controller actually has 2 PNPBIOS nodes (one to
represent the controller I/O resources and the kbd port IRQ, and one
for the aux port IRQ).  To cope with this, we're attaching two instances
of the driver and forge on ahead once both nodes have been seen.

If someone has a better way, please feel free to step forward.
2000-04-22 06:41:34 +00:00
thorpej 1842a5ee3a Allow pnpbios_getirqnum() to return the share type, as well. 2000-04-22 06:38:24 +00:00
augustss 84f24d3c29 The D-link serial adapter lies about being self powered. It's obviously
bus powered.  How can we do power budgeting when the devices lie?
2000-04-21 21:02:44 +00:00
augustss 60bb0d050d Add some comments. 2000-04-21 20:58:56 +00:00
explorer d592132506 the status register is _always_ at 0x420 -- grr. How should I put this in the config file rather than hard-coded? 2000-04-21 20:13:41 +00:00
augustss 46fb8de93a Use a 255 ms interrupt interval even if the descriptor in the hub asks
for something else, because the spec says that it should be 255.
2000-04-21 19:51:43 +00:00
augustss 6bc85d9fa0 Minor nit: Use another TAB in formatting to make the columns straight. 2000-04-21 19:49:59 +00:00
ragge 171d9f6a3f First version of keep-track-of-used-devices file. 2000-04-21 19:05:43 +00:00
augustss 4379f92630 Make sure to read the full hub descriptor (including the deprecated field). 2000-04-21 18:57:40 +00:00
thorpej 8c5710a861 - Declare biosbasemem and biosextmem in <machine/cpu.h>, don't extern
them everywhere they're used.
- Avoid integer overflow when converting bios{base,ext}mem (in units of
  kilobytes) to bytes.
2000-04-21 18:37:20 +00:00
bouyer 19ada4a82a Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.
2000-04-21 17:56:58 +00:00
explorer 79f12736c0 Add (commented out) addcom0 and com* at addcom? 2000-04-21 17:52:06 +00:00
bouyer cd5411b382 Script assembler for the NCR 53c7xx/8xx scsi controller. Initial work
done by Michael L. Hitch, support for the 8xx and some improvements
by me.
2000-04-21 17:50:07 +00:00
explorer 1118b3ee75 Add driver for Addonics FlexPort 8S (and probably 4S, but not tested) 2000-04-21 17:48:30 +00:00
bouyer f1d93978ae Rename define 'siop' to 'msiop' to avoid clash with machine-indepndant siop
driver. Doesn't change the name of drivers in config files.
2000-04-21 16:53:20 +00:00
bouyer 2ce6bd4b28 Rename the 'siop' define to 'asiop', to avoid clash with the MI siop driver.
This doesn't change the name of the drivers in config files.
2000-04-21 16:51:36 +00:00
minoura 48145d0463 Regen. 2000-04-21 16:18:54 +00:00
minoura 58c5fb660b We have now native issetugid. 2000-04-21 16:18:16 +00:00
minoura d982197440 Regen. 2000-04-21 16:16:15 +00:00
minoura f6051edef5 Add native issetugid() call.
Implementation from compat/freebsd.
2000-04-21 16:15:39 +00:00
augustss 3d9d091685 Change the exact sequence of commands when a hub is attached to follow
Windoze more closely.  This makes more devices work.

After two years of doing USB work I've finally access to a USB protocol
analyzer.  Which means I should be able to mimic what Windoze does in
certain cases instead of just following the specs.  Following the specs
is not enough since the devices often don't.
2000-04-21 16:05:50 +00:00
augustss 878deae672 Add a define for some slack port power up time. 2000-04-21 16:01:31 +00:00
augustss 9fb474fcf0 Regen. 2000-04-21 15:59:43 +00:00
augustss f791a72b9c Change error reporting in port reset function. 2000-04-21 15:58:55 +00:00
augustss 3f08804668 Pretend we know how to turn on port power (it's always on). 2000-04-21 15:40:01 +00:00
augustss fdeba432d2 Add a comment about a non-obvious use of a #define. 2000-04-21 15:38:55 +00:00
augustss d744db2ea9 Add D-link serial adapter (made by someone else :). 2000-04-21 15:37:50 +00:00
matt f52bc62c39 enable in-kernel NTP (so xntpd doesn't die). 2000-04-21 15:16:39 +00:00
shin a332af2846 delete unused function mips3_TLBReadVPS().
reorder insns to avoid mtc0/mfc0 hazard (for VR4100/R4700/RM52xx).
save/restore PageMask in mips3_TLBRead().
2000-04-21 14:14:55 +00:00
shin e2711a6552 make it compile with -DDEBUG. 2000-04-21 14:10:39 +00:00
tsubai e27d574b01 Make this compile. 2000-04-21 13:35:27 +00:00
tsubai 14219ebd05 Use dev/ic/com.c. 2000-04-21 07:12:53 +00:00
nisimura 79733cb614 Effort to have consistent comments, fixing one error. 2000-04-21 02:45:01 +00:00
itojun eaeb53372e update comment (analysis on 04 draft) 2000-04-21 02:40:53 +00:00
nisimura 3d5a5b03f5 - Address PR#9907. u_pte[1] wired down is left not global sometimes.
The brokenness is revealed sporadorically by memory usage on runtime.
- Avoid Vr4100 incompatibilty by making sure to retain default pgMask
  value for TLB invalidation routines.
2000-04-21 02:39:55 +00:00
augustss e1950d4ffa regen. 2000-04-20 23:40:27 +00:00
augustss 3e4e60beeb Add Zip 250. 2000-04-20 23:39:50 +00:00
mhitch ac3bfd5e7f When the tty intialization was split out of rcons_init(), the call to
rcons_ttyinit() was never added to the pmax rasterconsole stuff.  Output
to the display using /dev/console has not been working since then.  Adding
the call to rcons_ttyinit() makes this work again.
2000-04-20 20:02:34 +00:00
ragge 73e5b4e878 Raise IPL after interrupt, for LANCE chip. 2000-04-20 18:55:50 +00:00
thorpej 13c39a5cb6 Put the rasops attributes in conf/files so that everyone can run
config(8) without pulling in files.rasops.  There is prior art for
this, e.g. audio.
2000-04-20 18:23:37 +00:00
msaitoh e61941261f remove a debug log 2000-04-20 14:04:04 +00:00
msaitoh 25f1ebacc1 add a copyfault routine into the TLB miss handler 2000-04-20 14:02:41 +00:00
pk 43cdacc18b ctx_alloc: set context before flushing a stolen context's cache 2000-04-20 13:59:02 +00:00
msaitoh 48c1343230 asm bcopy() for sh3 2000-04-20 13:52:35 +00:00
tsubai 8bd19349a1 Fill paa_busname field in pcmciabus_attach_args. 2000-04-20 11:51:27 +00:00
nathanw 3e49436f9d Replace rcons console code with rasops console code.
Console text should now be supported on all TGA cards;
8- and 32-bit TGA and 8-bit TGA2 have been tested.

Implement accelerated character drawing, scrolling, and clearing.

Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.

Use bus_space_vaddr() instead of a local hack.
2000-04-20 05:25:20 +00:00
enami c63f06acd3 IN_MULTICAST() takes in_addr.s_addr as argument, not pointer to it. 2000-04-20 01:59:22 +00:00
thorpej c6fa58a322 - Allocate the ktrace operation header on the stack rather than using
MALLOC()/FREE().
- In ktrgenio():
	- Don't allocate the entire size of the I/O for the temporary
	  buffer used to write the data to the trace file.  Instead,
	  do it in page-sized chunks.
	- As in uiomove(), preempt the process if we are hogging the CPU.
	- If writing to the trace file errors, abort rather than continuing
	  to loop through the buffer.

From Artur Grabowski <art@stacken.kth.se>, with some additional cleanup
by me.
2000-04-19 19:14:17 +00:00
augustss 173c535a95 Add one, remove some. 2000-04-19 16:17:45 +00:00
tsubai baa659b825 #include <machine/conf.h>. 2000-04-19 15:56:27 +00:00
itojun 79e89da473 change copyright notice from 3-clause TNF -> 4-clause TNF.
not sure if which we prefer, but the point is to use exactly the same
copyright.  From: matthew green <mrg@eterna.com.au>
2000-04-19 15:16:02 +00:00
tsubai c88cf26926 Sync with evbsh3. 2000-04-19 14:31:48 +00:00
haya 784977f319 Changes the name of RealTek driver. The new name is `rtk'. This used
to be called `rl' and it conflict with RL vax disks, canonical and
historical unix driver name.

This changes are minimal: it only changes the name of RealTek driver.
The filename of source code and a lot of the letter `rl' in source
files should be changed shortly.
2000-04-19 08:44:31 +00:00
pk e5ab0feccc Have prom_cngetc() wait until input has been typed. 2000-04-19 08:15:06 +00:00
bouyer 5803932005 Regen 2000-04-19 07:52:33 +00:00
bouyer 01beba012a Add some Symbios devices. 2000-04-19 07:51:20 +00:00
itojun 5393e61dd0 add boundary check for nd6_ifinfo (otherwise ndp -i can make out-of-bound
accesses).
2000-04-19 07:13:03 +00:00
itojun 3be41bae18 add stf pseudo interface (commented out due to possible security risks) 2000-04-19 06:50:27 +00:00
itojun d300ce3942 add net/if_stf.h and netinet/ip_encap.h (almost noone will include them though) 2000-04-19 06:39:15 +00:00
itojun 3909133548 introduce sys/netinet/ip_encap.c, to dispatch inbound packets
to protocol handlers, based on src/dst (for ip proto #4/41).
see comment in ip_encap.c for details of the problem we have.
there are too many protocol specs for ip proto #4/41.
backward compatibility with MROUTING case is now provided in ip_encap.c.

fix ipip to work with gif (using ip_encap.c).  sorry for breakage.

gif now uses ip_encap.c.

introduce stf pseudo interface (implements 6to4, another IPv6-over-IPv4 code
with ip proto #41).
2000-04-19 06:30:51 +00:00
enami a2bf544200 Allocate the variable `inqbuf' in scsi_probedev on stack rather than
statically.  Since this function may called for another luns immediately,
allocating it statically doesn't make sense and may cause race condition
as pointed out by PR#9749.
2000-04-19 04:49:50 +00:00
itojun 5e5941eda1 remove extra memory region kept by "struct pfil_head pfil_head_t;".
it seems totally, unnecessary, or seems to be typo for typedef.
(correct me if i'm wrong)
2000-04-19 04:46:23 +00:00
enami debe6e88b6 Calculate an offset of mailbox_in correctly by renaming BHA_MBO_OFFSET
to BHA_MBX_OFFSET and using it also for mailbox_in.  Since all mailboxes
should be placed in a single continuous memory due to a hardware limitation,
an offset of any mailbox can be/should be calculated using a same expression.
2000-04-19 02:39:12 +00:00
mrg 19a31e7b5e add a newline to this fake autoconfig line. 2000-04-19 02:26:08 +00:00
haya edfd8044ec Maintenace: add definitions for command status register. 2000-04-19 01:19:04 +00:00
matt 79a5b2164e Remove autconf stuff. not needed and wrong. 2000-04-18 21:25:31 +00:00
minoura dd8c46b8be Explicitly include opt_m680x0.h. 2000-04-18 21:06:06 +00:00
minoura 64a8c7e0c8 defopt M680[2346]0. 2000-04-18 21:04:51 +00:00
matt 414d3f059d Compile -Os instead of -O2 (optimize for space). 2000-04-18 20:47:04 +00:00
ragge d334fb3019 Handle NCR5394 SCSI as NCR5380. (Doesn't matter, it will use the ROM
routines anyway).
2000-04-18 20:25:13 +00:00
ragge 86d5f2d67d Add RPB number for VS4000 SCSI. 2000-04-18 20:23:54 +00:00
tsubai be4988ee6d Make kernel profiling work. 2000-04-18 17:06:01 +00:00
cgd 0d117aa518 regen for changed pcidevs 2000-04-18 16:38:12 +00:00
cgd 88e62f7c84 SiByte, Inc. is vendor 0x166d. 2000-04-18 16:37:00 +00:00
mhitch a218b8543c Enable cache on the 4000/VLC. 2000-04-18 16:28:04 +00:00
mhitch a90cf56cda PC_ICR doesn't exist on the 4000/VLC and trying to read it apparently
causes problems when the cache is enabled.  Don't access it if boardtype
is VAX_BTYP_48.
2000-04-18 16:25:59 +00:00
mhitch 6c0d2ca981 Add some defines gleaned from OpenVMS to enable cache on the 4000/VLC. 2000-04-18 16:23:42 +00:00
tron 939041f1aa Fix typo in last commit. 2000-04-18 14:48:53 +00:00
eeh c58f0ee9cd Prevent the system from getting watchdog reset by returning directly to user
mode if restoring the user window traps.  Also reduce the time we run with
%tl>0.
2000-04-18 02:12:25 +00:00
eeh 2aec15d3d3 Turn off traptrace before printing a panic message so we don't flush the useful
traces out with the printf guts, and wrap some lines at 80 columns.
2000-04-18 02:07:57 +00:00