Commit Graph

88440 Commits

Author SHA1 Message Date
lukem b6ce735c04 - Use u_longlong_t instead of u_quad_t, u_long, or int for various buffer sizes
- Add strsuftoull(), which parses a number into a u_longlong_t, with
  multiplication support, and support for 'g' (GB) and 't' (TB) suffices.
  If an error occurs, print to stderr and exit.
  Based on get_blk() from args.c and strsufto*() (in other programs)
- Add strsuftoullx(), which acts as per strsuftoull() but returns the
  error in the supplied buffer instead (if the returned buffer != "", an
  error occurred)
- Replace get_bsz() use with strsuftoull()
- Remove (now) unnecessary argument validation
- Remove unused {f,p,s,t}_stats fields in struct IO
2001-11-25 10:50:06 +00:00
jmc d271a36466 Before checking the value from PRINTOBJDIR force a make obj at $_SRC_TOP_. 2001-11-25 09:06:00 +00:00
jhawk 25dfa3e2d8 Try to reserve "v" (down arrow) to indicate active development,
so, e.g. not between 1.4.2 and 1.4.3.
Note that NetBSD 1.4 development continues at this time ("v").
Note NetBSD 1.5.2 (and continuing 1.5 development).
Correct 1.5.1 release date to Jun 11 not July 11.
Add 1.5.2 release date.
2001-11-25 07:31:21 +00:00
lukem 6848de8fe5 fix WARNS=2 for -DNO_CONV 2001-11-25 06:57:55 +00:00
lukem 8605a1aa68 - ANSI KNF
- WARNS=2 (mainly converting some "char *" -> "const char *")
2001-11-25 06:53:48 +00:00
chs 1b8f294146 disallow mapping negative offsets for both regular files and block devices. 2001-11-25 06:42:47 +00:00
isaki 5bb62778d7 about Nereid ethernet. 2001-11-25 05:46:51 +00:00
isaki 9803619f9a Sync with GENERIC 1.67 2001-11-25 05:21:12 +00:00
isaki adf7d48092 Add an ethernet part of Nereid. 2001-11-25 05:10:03 +00:00
minoura 9011251c05 Sync. with GENERIC plus others. 2001-11-25 01:27:49 +00:00
minoura 67b7ba9580 se0 is dead. 2001-11-25 01:23:45 +00:00
mjl feb8901632 Add PPC assembler routines for ffs(3), bzero(3) and memset(3). 2001-11-25 01:09:58 +00:00
minoura fb3e999db8 One more floppy fix. 2001-11-25 00:42:11 +00:00
minoura f7b4b90acd Avoid using array chaining mode of DMAC. 2001-11-25 00:38:50 +00:00
lukem 73191c8c28 comment out CRYPTO_MD_DES_ENC & CRYPTO_MD_BF_ENC; they're not used
anywhere in the kernel, they're not defopt-ed, and config(8) -v
complains about them
2001-11-25 00:02:12 +00:00
jhawk 75e4940879 Hello. Did YOU know that
*      This product includes software developed for the NetBSD Project by
 *      Wasabi Systems, Inc.
? Well, it's true. From sys/dev/acpi.
2001-11-24 23:53:18 +00:00
perry 37799562b4 fix an accidental use of dirname instead of xdirname 2001-11-24 21:58:42 +00:00
perry 575abb014c Add a new target (infodir-meta:) that synthesizes the share/info/dir
file's metadata if UNPRIVED and MKINFO != no. Make afterinstall depend
on it as well as whatis.db.
XXX I wish there was a more rational place to synthesize the metadata,
but I can't think of one. The share/info/dir file is built by all the
world's install-info executions.
2001-11-24 21:53:16 +00:00
perry 33c33d421a Synthetically generate metadata entries for passwd, spwd.db, pwd.db.
XXX Note that it can easily be argued that these should be generated by
the installer, not shipped in the tar files, but that's for another day.
2001-11-24 21:41:12 +00:00
perry 637fddfedf if UNPRIVED, generate (synthetically) a metadata log for whatis.db 2001-11-24 21:39:20 +00:00
perry 88592afd34 1) Synthetically generate metadata for installed files when UNPRIVED
is set.
2) Remove the default timezone line, which noted that the
   functionality was now in src/etc/Makefile.
3) Comment out a huge swath of the file that repeated tests reveal
   never seem to be invoked -- they're apparently for generating zone
   files that include leap seconds and such. Must talk to Klaus about
   what they are for and whether we need them.
2001-11-24 21:37:23 +00:00
perry 8382183dca 1) Use the -r flag for INSTALL_SYMLINK and INSTALL_LINK, just like
INSTALL_FILE does.
2) Patch around a bug that has been biting people in which bsd.own.mk
   attempts to cd into space when building outside of the tree. I may
   have a better solution for the whole thing later.
2001-11-24 21:26:34 +00:00
perry 6385e197e2 Now that install has been fixed to deal with -r in the symlink case,
make bsd.lib.mk use INSTALL_SYMLINK instead of mv and ln -s.
Note: There is still one weird case I left alone, in which symlinks
get built in the objdir. I didn't want to log metadata for those links
so I left the old machinery in for them.
XXX do we even need that elaborate dance for the ln's in the objdir?
2001-11-24 21:23:38 +00:00
yamt ce170de115 - add (partial?) i/o mode support.
- add partial cs8920 support.
- add detach code.
- add a quirk for EtherJet PCMCIA with cardbus bridge.
(above "partial" means "engough to support EtherJet PCMCIA")
2001-11-24 20:18:55 +00:00
perry 96aece1560 Note in far more places that -B is only supported on some platforms. 2001-11-24 18:30:59 +00:00
rafal 24ed46ea21 Fix bug found by Izumi Tsutsui -- if _rtld_find_symdef returned NULL, the
runtime linker would crash.  Restore behavior similar to version 1.3, where
the runtime linker continues on, ignoring the symbol.
2001-11-24 18:07:04 +00:00
thorpej a3a8490ca2 Sanitize hpcarm includes somewhat, make them more like other ARM ports. 2001-11-24 17:39:31 +00:00
minoura c5979593b7 Remove debug messages.
Fix bogus floppy check.
2001-11-24 16:38:16 +00:00
perry 675aa2fd98 note that the path for installboot is /usr/mdec/installboot in SYNOPSIS 2001-11-24 16:38:07 +00:00
minoura 6018e68205 C version of installboot(8).
Shell script version required sed, od, etc. which were too big for install
media.
2001-11-24 16:26:56 +00:00
minoura 12c8367914 boot_ufs can now used as the disk primary boot. 2001-11-24 16:22:54 +00:00
minoura a8f7d98ad9 Emit the binaries directly from the loader. 2001-11-24 16:18:44 +00:00
minoura c957ecf172 Support BSD style disklabel on harddisks.
XXX need consistency check between the native label and the BSD label.
2001-11-24 16:08:25 +00:00
martin 86c6c53869 Sanity check the tunnel route after computing it and don't mark the
interface up if there is no route or the route loops back to ourself.
This helps to avoid pilot errors which would result in kernel stack
overflows.
2001-11-24 15:46:08 +00:00
darrenr cbf13ec8c8 update man page to mention that you need to do "ifconfig greN create" before
using greN even if config'd into the kernel.
2001-11-24 14:27:03 +00:00
jdolecek 67238c609c The header part of driver overhault:
* simplify and clean the attach code a lot, and support the 'drive'
  locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
  completely broken (used incorrect major and wrong minor), but worked
  by accident
* worker thread is now spawned per controller, rather than per-drive;
  i/o cannot be done concurrently by different drivers, only one
  i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
  !poll case, g/c 'async' code formerly needed, move the bio code
  from ed_mca.c to edc_mca.c:edc_bio()
* other misc cleanups
2001-11-24 12:46:15 +00:00
jdolecek 211d58f020 don't need opt_mcaverbose.h here
print 'memory configured' instead of just 'configured' for memory expansion
cards
2001-11-24 12:33:14 +00:00
wiz 1ea75497ea filesystem -> file system; add `.' at end of HISTORY section; sort sections;
don't use Pc/Po/Pq; drop Nm arguments in most places (because they're not
needed); update Dd for mrg's changes today.
2001-11-24 07:40:22 +00:00
isaki 26b511b905 fix typo s/68551/68851/ in a comment. 2001-11-24 06:53:16 +00:00
thorpej 525c88a3c4 Cleanup, don't install headers that userland doesn't need. 2001-11-24 03:56:48 +00:00
thorpej ccbcd042c1 Clean this up, don't install files that userland doens't need. 2001-11-24 03:54:52 +00:00
thorpej ce8333e910 This is a Shark-specific file; don't need it here. 2001-11-24 03:52:34 +00:00
thorpej c5269c1608 Make the ARM, Ltd. floating point emulator work w/ ELF. 2001-11-24 03:39:17 +00:00
thorpej 35a01e1ce7 Use the logic in bsd.own.mk to determine machine/machine_arch. 2001-11-24 03:08:27 +00:00
thorpej acf28d4b8c Oversight in last. 2001-11-24 03:06:17 +00:00
thorpej b98949efa8 Use the logic in bsd.own.mk to figure out the toolchain format,
and to convert MACHINE_ARCH to a CPU.  Make this cross-build
friendly by specifying MACHINE, MACHINE_ARCH, and MAKE in the
makeflist/checkflist environment.
2001-11-24 02:54:50 +00:00
jdolecek b15c555bc8 back off previous - according to Klaus Klein, reference
should be made to actual CAE Specifications only, SUSv2 is
just a collection of standards
2001-11-24 02:41:48 +00:00
jdolecek 14f44ebcdd comment out the STANDARDS section for now 2001-11-24 02:40:05 +00:00
explorer 78762d72a5 fix tail; don't try to map more of the file than really exists 2001-11-24 02:30:17 +00:00
thorpej c6eda17887 Move generic ARM headers into ad.arm. Update the md.{arm26,arm32}
and obsolete.{arm26,arm32} files for the current reality.
2001-11-24 02:09:11 +00:00