Commit Graph

64856 Commits

Author SHA1 Message Date
mason af43639ded Fixed typo in ses comment - devies -> devices 2000-05-25 01:34:18 +00:00
msaitoh 127c1a76e9 fix the null pointer access bug when arg2 (char **endptr) == NULL 2000-05-25 01:22:41 +00:00
matt 2b6f5625e6 Fix a new nits. we never the dev entries for cd0 or cd1. opps. be
consistent with terminal types.
2000-05-24 23:20:46 +00:00
thorpej 4f92d2cd54 Update from Bill Studenmund <wrstuden@zembu.com>:
- Note that the FreeBSD driver distributed by Cyclades served as
  documentation on how the board works.
- Use the wait-until-pending-I/O-completes-before-loading-parameters
  command in czttyparam().
- Pass BREAKs up to the tty later properly.
- Garbage-collect some debugging code.
2000-05-24 22:26:35 +00:00
perseant 7438415348 Add man pages for LFS syscalls 2000-05-24 21:54:59 +00:00
eeh ca743bac9a Use the PCI function code to distinguish simba bus A from bus B instead
of the current hack.
2000-05-24 20:27:52 +00:00
eeh c965d1deec If we have sparse PCI spaces we can run out of IO map space when mapping
PCI config space.  Since PCI config space is mostly used by PCI bus drivers,
we won't actually map it in.  Instead we use MMU bypass ASI accesses to read
and write PCI config space.
2000-05-24 20:24:58 +00:00
ragge e256727fb2 Four more instructions makes it possible to boot old kernels also. 2000-05-24 19:53:11 +00:00
is ebc6483ef9 missed one line when converting m68k asm() to macro calls. 2000-05-24 19:36:29 +00:00
soren a20a3b38fd Appease gcc. 2000-05-24 18:42:03 +00:00
thorpej e1284ac3c2 Add a comment before the call to preempt() to be consistent with
other ports (i.e. I just added the comment, and arm26 already used
preempt).
2000-05-24 17:29:41 +00:00
thorpej 7f4eca2d94 Use preempt(), not an open-coded equivalent (which won't be
equivalent for long).
2000-05-24 17:28:05 +00:00
thorpej 1140468205 Use preempt(), not an open-coded equivalent (which won't be
equivalent for long).
2000-05-24 16:48:33 +00:00
blymn 99bf72c6bb Fix core dump. 2000-05-24 14:43:00 +00:00
itojun 418a734f51 enforce parameter type check for IN6_ARE_ADDR_EQUAL(). (sync with kame) 2000-05-24 14:40:09 +00:00
blymn 51164fe56a Fix coredump on start. 2000-05-24 14:20:29 +00:00
soren c25111e4ae Make two previous changes more correct, as shown by Izumi Tsutsui. 2000-05-24 13:20:32 +00:00
soren 9c42b3b802 #include <opt_ddb.h> 2000-05-24 08:14:01 +00:00
soren 8922795de0 The EEPROM is little-endian. 2000-05-24 08:04:23 +00:00
soren 66083288eb Fix DMA status reading on big-endian systems. From Sanjay Lal on port-macppc. 2000-05-24 07:49:13 +00:00
soren 35bf53bd9c And a newline after error string. 2000-05-24 06:04:12 +00:00
itojun 37cc37ead2 correct pcmcom detach (like card removal). PR 9334. 2000-05-24 03:44:46 +00:00
jhawk a403c3e1c3 Kludge:
Change #define's of the form
	#define panic(a) printf(a)
to
	#define \
	panic(a) printf(a)
to prevent ctags(1) from detecting there is a tag.
Otherwise, the tags file claims panic() is in subr_extent.c
instead of subr_prf.c.
2000-05-24 02:22:36 +00:00
jhawk ef5465cf9f Note "sifting" requires backslash escapes for leading digits. 2000-05-23 23:48:43 +00:00
matt 83ae868133 Add some debug stuff. Disable SCSI on KA49 for now until I can figure out
why it doesn't work.
2000-05-23 23:47:28 +00:00
matt 62469cb55a Allow for boot.vax and netbsd.vax when booting. this allows a multi
architecture CD to be made which includes VAX support.
2000-05-23 23:34:20 +00:00
matt 27a876b17c boot detection moved autoconf.c; remove it from here. 2000-05-23 21:36:43 +00:00
matt 6f98bbbb09 Add some missing ifdef's. 2000-05-23 19:55:55 +00:00
matt 5d64a08f5f add ramdisk-kernel. 2000-05-23 18:36:04 +00:00
matt 76a7f5856a Build the INSTALL ramdisk kernel 2000-05-23 18:34:58 +00:00
perseant c534307563 Count the Ifile indirect block too (part of PR#9357) 2000-05-23 18:17:20 +00:00
christos d4bcd03b81 PR/10154: Antti Kantee: ignore 0 length resource(s) 2000-05-23 17:50:53 +00:00
bouyer 2904666f56 Allocate dynamically the command block descriptors. 2000-05-23 17:08:07 +00:00
thorpej 8f7304f9b7 Typo in previous. 2000-05-23 16:47:44 +00:00
tv 01780e8115 Add names for many syscalls not yet implemented, including those in
FreeBSD 4.0-RELEASE.  Also implement the following using existing NetBSD
syscalls:  pread, pwrite, getsid, mlockall, munlockall, __getcwd.
2000-05-23 16:05:51 +00:00
tsubai 06d1fe06b3 Remove __BROKEN_DK_ESTABLISH. 2000-05-23 13:27:16 +00:00
tsubai b906075964 Compile dk_* functions only when __BROKEN_DK_ESTABLISH is defined. 2000-05-23 13:25:43 +00:00
tsubai f12221a5f5 Modify DMA access timings. 2000-05-23 13:20:58 +00:00
shin 7b961f3147 fix disk usage. 2000-05-23 12:38:39 +00:00
itojun 922ffb6256 correct FILES section. mention IPv6/IPsec headers. 2000-05-23 12:35:34 +00:00
itojun ff6b22b6fc s/udp6.sendmax/udp6.sendspace/ 2000-05-23 12:27:27 +00:00
pk 1273031c4d Simplify the bus_dma(9) implementation:
- the `alignment' and `boundary' arguments in bus_dmamem_alloc() only
  serve as hints on how to break up a DMA transaction into chunks
  when necessary; it is not necessary on sparc DVMA hardware.

- exclusively use the VM page size (i.e. PAGE_SIZE et.al.) when computing
  resource allocations.

- remember the size of DVMA resource allocations in the private `_ds_sgsize'
  field in a dma segment descriptor.
2000-05-23 11:39:57 +00:00
itojun e459e7617b sync with latest kame.
- decrease warning level on missing rtadvd.conf (actually, the file
  can be omitted)
- strict prototype
- gather stats better, emit stats on SIGUSR1 to /var/run
2000-05-23 11:37:58 +00:00
bouyer e662e86225 sd_interpret_sense() can be called from interrupt context; call scsipi_start()
with XS_CTL_ASYNC if the failed command was called with XS_CTL_ASYNC.
Add a SDF_RESTART flag to keep state, cleared in sddone().
A mounted disk can now spin down, it will propely spin up at the next access.
2000-05-23 10:20:14 +00:00
bouyer 373582e298 scsipi_get_xs(): if we have XS_CTL_URGENT, return an xfer even if
active >= openings. An XS_CTL_URGENT command could otherwise fail, especially
if openings == 1.
2000-05-23 10:16:43 +00:00
enami 7c396cad70 When we steal an argument, just bump optind instead of copying
rest of argument vector.
2000-05-23 09:04:33 +00:00
enami 28ec465498 Remove $Id. 2000-05-23 08:41:49 +00:00
enami f87f33d513 Allow userland to retrieve whether the card support WEP while the
card power is off.  This allows wiconfig to set WEP key etc while power off.
2000-05-23 08:25:51 +00:00
tron b4969ca513 Fix an alignment problem introduced by the patch for PR lib/8032.
Fixes PR lib/10048 by J.T. Conklin.
2000-05-23 07:03:10 +00:00
veego c02ef5cc85 Resolve conflicts. 2000-05-23 06:07:42 +00:00