Commit Graph

70814 Commits

Author SHA1 Message Date
onoe 935577e7bc Tulip driver for NWB-5852A, which is an APbus board with DEC-21140A chip.
without MII.  It supports 100BaseTX only.  Half duplex/Full duplex can
be specified manually, but there are no auto negotiation functionality.

XXX:	It takes 34 seconds before sending/receiving packets on the wire
	after initial setup.  It is obviously a bug because the board
	just works fine on NEWS-OS, but I cannot find what's wrong...
	Once it starts working, it seems there are no problems.
2000-10-12 03:15:59 +00:00
onoe 31624ad662 use macro to access interrupt mask register. 2000-10-12 03:15:21 +00:00
onoe f2c3050d29 change the type of the apbus interrupt handler from void to int
for each driver to indicate the interrupt has been handled or not.
2000-10-12 03:13:47 +00:00
onoe be4c939451 change the type of the apbus interrupt handler from void to int
for each driver to indicate the interrupt has been handled or not.
add prototype of apbus_dmatag_init() function, which allocates memory
and initialize its member including bus space handle to flush DMA write
cache.  Note that the allocated pointer must be freed.
2000-10-12 03:12:01 +00:00
onoe 655ba83924 Allow multiple interrupt handler on same interrupt event.
Clear interrupt mask for specified interrupt in apbus_intr_establish().
Add dma stuff; define apbus_dmamap_sync() to flush DMA write cache by
accessing the corresponding I/O port.
2000-10-12 03:11:38 +00:00
onoe de22372491 Use 1MHz freerun counter for microtime().
Show address for bus error, and DMA address error.
	should be panic, but only printf for now.
2000-10-12 03:10:37 +00:00
onoe 68f82490a3 Support scsi boot device for NWS-5000.
Support NWS-3700, which is very similar with NWS-3400.
Do not depend on modelid of idrom, which is useless in most cases.
2000-10-12 03:10:07 +00:00
onoe 4e2e140f75 Do not access graphic console if probing framebuffer fails for NWS-3400.
Use serial console instead regardless the dipsw.
2000-10-12 03:08:58 +00:00
onoe 1383251d9a Bus I/O and DMA access macros/routines. 2000-10-12 03:07:59 +00:00
onoe 0ff12521fa Add address for free running 1MHz 1counter.
Add registers for APbus I/F gatearray.
2000-10-12 03:07:02 +00:00
itojun 32e7a2cd70 hifn7751 crypto card driver. from openbsd.
does nothing useful at this moment - initailize the chip, that's all.
TODO: crypto logic framework in kernel (see openbsd sys/crypto)
TODO: ipsec frontend (need major rework in ipsec tree - should start with busywait)
TODO: character device frontend
2000-10-12 02:59:59 +00:00
itojun 8d7ce38746 regen 2000-10-12 02:54:13 +00:00
itojun 429b0af909 pci device ID for hifn 7751-based crypto cards. from openbsd. 2000-10-12 02:52:58 +00:00
enami b204f9e433 Use ether_ioctl. 2000-10-12 02:24:08 +00:00
itojun 4c0a48380a /etc/login.conf is optional, so don't return NULL even if
there's none found.  addresses part of PR 11150.  sync with openbsd.
2000-10-12 00:28:33 +00:00
itojun 11ede04dd7 cosmetic; indentation 2000-10-12 00:19:57 +00:00
fvdl 30b8888d4a * Change the interface of run_prog: use a flags argument instead of
seperate booleans. Add flags to run as a plain 'system()' command,
  fullscreen (but on a pty), and chrooted, and implement their
  functionality. Add a bit of TIOCPKT handling code to handle
  programs messing with term settings better.
* Ask to set the root password at the end of an install.
* Remove a few unneeded comments.
* Sprinkle some touchwin() calls here and there to make the output cleaner.
  They shouldn't really be needed, but even normal usage (no syslog
  messages) even left the screen messy sometimes.
* Change some messages around that were apparently swapped by accident and
  thus caused confusion.
2000-10-11 23:47:55 +00:00
fvdl 3fd1dc7ed3 Create the disktab file directly, no need to waste precious inodes/space
in ramdisks with disktab.preinstall.
2000-10-11 22:58:17 +00:00
hubertf 1836ca4994 Document that VM86 is also used by some X servers to call VESA routines. 2000-10-11 22:24:24 +00:00
sommerfeld 2383226766 Silence format warning. 2000-10-11 22:03:33 +00:00
he 5b7047ce18 The type of sizeof() can be u_long, so cast to that and print with %ld. 2000-10-11 21:08:54 +00:00
he e3ab5a24f9 Format fixup. size_t can be long, so cast to u_long and print with %ld. 2000-10-11 21:02:05 +00:00
dan d173359000 format warning fixes from he, after testing on 64-bit elf (alpha) 2000-10-11 20:46:07 +00:00
he ecaef6e7a4 Better fix for format warnings.
The type of time_t varies between ports, so we need to cast
before printing.  It appears to be sufficient and safe to use (int).
2000-10-11 20:25:29 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
thorpej 7f3f19a068 Fix int vs. long format string botch. 2000-10-11 19:30:04 +00:00
thorpej ec185ae25b Fix a format string goof. 2000-10-11 19:28:43 +00:00
thorpej 8035db5770 Format string fixes. 2000-10-11 19:16:39 +00:00
thorpej ef3b320608 Back out last change. It was not a format string cleanup at all,
but rather a piece of SMP development code not ready for committing.
2000-10-11 19:10:19 +00:00
thorpej e31647affd int vs. pointer format/argument confusion. 2000-10-11 18:50:12 +00:00
phil cc543121c5 Document the behaviour with consecutive separator characters. 2000-10-11 18:26:04 +00:00
abs 5d868db883 When determining the filesystem type automatically, only try the raw device
for the disklabel if the given device fails with EBUSY. Also make disklabel
errors non fatal (just fall back to ffs as per pre-autofilesystem behaviour)
Based on further discussion with Launey Thomas <ljt@alum.mit.edu>
2000-10-11 17:56:05 +00:00
mhitch 28c4cc2851 Use uncached memory so this has a chance of working on R4x00 DECstations.
My 5000/260 hung hard when a PMAG-D board was probed during boot.
2000-10-11 17:55:56 +00:00
thorpej 76589fafd4 - uvmspace_share(): If p2 has a vmspace already, make sure to deactivate
it and free it as appropriate.  Activate p2's new address space once
  it references p1's.
- uvm_fork(): Make sure the child's vmspace is NULL before calling
  uvmspace_share() (the child doens't have one already in this case).

These changes do not change the behavior for the current use of
uvmspace_share() (vfork(2)), but make it possible for an already
running process (such as a kernel thread) to properly attach to
another process's address space.
2000-10-11 17:27:58 +00:00
thorpej 47a2016cdc - Change SAVE_HINT() to take a "check" value. This value is compared
to the contents of the hint in the map, and the hint saved in the
  map only if the two values match.  When an unconditional save is
  required, the "check" value passed should be map->hint (and the
  compiler will optimize the test away).  When deleting a map entry,
  the new SAVE_HINT() will only change the hint if the entry being
  deleted was the hint value (thus preserving any meaningful hint
  that may have been there previously, rather than stomping on it).
- Add a missing hint update when deleting the map entry in
  uvm_map_entry_unlink().  This is the fix for kern/11125, from
  ITOH Yasufumi <itohy@netbsd.org>.
2000-10-11 17:21:11 +00:00
thorpej 2198741306 Use ether_ioctl(). 2000-10-11 16:57:45 +00:00
thorpej 339724bb6f NetBSD 1.5H: struct ifnet changed. 2000-10-11 16:55:11 +00:00
thorpej fabbb33a60 Implement ether_ioctl(), ioctl operations common to all Ethernet
interfaces.
2000-10-11 16:53:41 +00:00
thorpej 7e2259325b Change the if_reset vector to if_init, and add an if_stop. if_stop
also takes an argument indicating whether or not the interface should
also be disabled (i.e. power removed, resources freed, etc.)
2000-10-11 16:52:34 +00:00
itojun 0eafc475c2 /etc/mail/aliases, not /etc/aliases. PR 10167. 2000-10-11 16:51:55 +00:00
itojun 81d0adc881 string length computation bug. PR 8676. 2000-10-11 16:47:22 +00:00
ad e764b56887 Add another. 2000-10-11 15:23:05 +00:00
onoe fcde56c9ba Add flags to indicate that tlp_init() should set some more BUSMODE bits.
TULIPF_BLE	/* data is big endian */
	TULIPF_DBO	/* descriptor is big endian */
These setting is required for Big-endian bus front-end (such as APbus for
newsmips) to work with tulip.  Also,
	sc_maxburst
member is added to the tulip_softc to limit the maximum burst length.
This member defaults to zero which means no restriction for burst length.
2000-10-11 14:59:52 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
hubertf 745fefd1c6 Xref pkgsrc/Packages.txt 2000-10-11 14:00:58 +00:00
simonb ccfb69e019 Update for the 1.5 release. 2000-10-11 13:04:12 +00:00
simonb 2cac9518f5 'ex' is not in the root filesystem if /usr is a separate partition. 2000-10-11 12:59:22 +00:00
is c187885502 Added Aarhus. 2000-10-11 12:23:50 +00:00
tsutsui 6c7f106ad2 Fix typo. (s/cobolt/cobalt/)
Pointed out by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>.
2000-10-11 12:18:45 +00:00
is 87dfefb8c5 Added a couple of entries. Corrected some sorting errors. 2000-10-11 12:17:35 +00:00