Commit Graph

10845 Commits

Author SHA1 Message Date
njoly 7121a760b4 Update boot.cfg banner/menu to reflect that installation floppies have
ACPI support.
2009-09-23 11:17:58 +00:00
njoly ca00adb70e Cleanup some duplicated entries. 2009-09-23 09:18:31 +00:00
isaki e4afee40f3 termcap.vt was removed.
http://mail-index.netbsd.org/source-changes/2009/09/20/msg001101.html
2009-09-22 02:50:11 +00:00
abs 2108b54359 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
abs 2383b0ce8e Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
2009-09-20 22:50:50 +00:00
abs bdf4da2bba Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
2009-09-20 22:46:10 +00:00
abs 1fabe01b0f remove references to disktab.{preinstall,shadow} 2009-09-20 22:44:06 +00:00
abs fb1870e986 correct a comment about disktab 2009-09-20 22:43:00 +00:00
abs 6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
abs 52f8f0673d Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
2009-09-20 19:41:35 +00:00
abs 5edb620617 Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove) 2009-09-20 19:29:24 +00:00
apb b89c187a0f Add new mtree tests 2009-09-19 21:51:47 +00:00
abs eff3a12f1c defs.h:
- Re-order the md_*() definitions so they are in the order called
- Add some comments
- Remove obsolete md_set_no_x() definition
- Remove md_copy_filesystem()
- #if defined(DEBUG) declare backtowin(void) to avoid scattering
  externs in various md .c files

mbr.[ch]:
- Add a set_bios_geom_with_mbr_guess() which can be called by all
  the non x86 ports rather than copying the same code into arc,
  bebox, cobalt, evbmips, evbppc, hpcarm, hpcmips, landisk, ofppc,
  prep, sandpoint, and zaurus md.c

install.c:
- Remove now unnecessary call to md_copy_filesystem()

upgrade.c:
- Move move_aout_libs() here, and put under #ifdef AOUT2ELF
- Rather than having *every* md_update call wrefresh(curscr),
  wmove(stdscr, 0, 0), wclear(stdscr), and wrefresh(stdscr),
  move them here

arch/acorn26/md.c:
- Just include arch/acorn32/md.c, but add a note there warning
  about this, and while here add a note to i386/md.c that it
  is included by amd64

arch/*/md.c:
- By all means "Vive la difference", but we have 38 pairs of md.[ch],
  and they could not even agree on the order in which to list the
  md hooks, let alone formatting. Sort the md hooks to match the
  (now sane) order in def.sh, and try to normalise the formatting
- Also copy across some function level comments everywhere
- Ensure functions only used inside each md.c are defined as static
- Remove some now unused functions
- Some files had enable_rc_conf in #ifdef DEBUG. Add this to all
- bebox, evbppc and sandpoint were still playing broken games with
  copying the booted ramdisk to the target disk, the primary result
  of which was just to slow things down and ensure the target system
  lost the .profile extracted from the sets. Just kill this.
- For some ports md_update() called endwin(), and in others not.
  Take a cure from i386/amd64 and a few other more active ports,
  and update everything to match (no endwin())
- In a couple of cases correct port names in comments
- ANSIfy some lingering old style functions
- Consistently use "return 0;" rather than "return (0);"

More of the mbr code should be abstracted, along with the
get_ramsize() / set_swap() logic, but this is (more than)
enough for one day...

sysinst built for all ports but only runtime tested on amd64 & i386
2009-09-19 14:57:27 +00:00
abs 961dc58afe Add cobalt hp700 hpcarm landisk & ofppc to ALL_MACHINES list 2009-09-19 13:33:17 +00:00
tron 998ba1c3ac Fix typo in name. 2009-09-19 08:05:24 +00:00
snj f2a7edf211 Only generate SHA512 and MD5 checksums for releases. 2009-09-19 07:09:53 +00:00
snj 7bc03db112 Update core group membership. 2009-09-19 06:18:01 +00:00
abs 7fb2fc21e2 Of the arious list files 28 said
PROG   usr/bin/gzip    usr/bin/gzcat usr/bin/gunzip
while 14 picked
    PROG   usr/bin/gzip    usr/bin/gunzip usr/bin/gzcat

Make them all choose the former. No functional change.
2009-09-18 10:49:08 +00:00
abs d2e3664387 Merge four separate copies of list2sh.awk runlist.sh (three identical
and one with slightly less options). Release build verified on amiga,
bebox and evbsh3. Vax build fails for unrelated reason.
2009-09-18 09:24:58 +00:00
sborrill a6c4554922 Add hdaudio headers 2009-09-17 08:55:19 +00:00
mrg 316b73f4dc add hdaudio files. 2009-09-17 07:40:44 +00:00
dyoung a823c63033 Don't install config_activate links such as config_activate.9 ->
autoconf.9.  In the set list, mark the config_activate links
obsolete.
2009-09-16 22:52:40 +00:00
dyoung 36fffd8d02 In pmf(9), improve the implementation of device self-suspension
and make suspension by self, by drvctl(8), and by ACPI system sleep
play nice together.  Start solidifying some temporary API changes.

1. Extract a new header file, <sys/device_if.h>, from <sys/device.h> and
   #include it from <sys/pmf.h> instead of <sys/device.h> to break the
   circular dependency between <sys/device.h> and <sys/pmf.h>.

2. Introduce pmf_qual_t, an aggregate of qualifications on a PMF
   suspend/resume call.  Start to replace instances of PMF_FN_PROTO,
   PMF_FN_ARGS, et cetera, with a pmf_qual_t.

3. Introduce the notion of a "suspensor," an entity that holds a
   device in suspension.  More than one suspensor may hold a device
   at once.  A device stays suspended as long as at least one
   suspensor holds it.  A device resumes when the last suspensor
   releases it.

   Currently, the kernel defines three suspensors,

   3a the system-suspensor: for system suspension, initiated
      by 'sysctl -w machdep.sleep_state=3', by lid closure, by
      power-button press, et cetera,

   3b the drvctl-suspensor: for device suspension by /dev/drvctl
      ioctl, e.g., drvctl -S sip0.

   3c the system self-suspensor: for device drivers that suspend
      themselves and their children.  Several drivers for network
      interfaces put the network device to sleep while it is not
      administratively up, that is, after the kernel calls if_stop(,
      1).  The self-suspensor should not be used directly.  See
      the description of suspensor delegates, below.

   A suspensor can have one or more "delegates".  A suspensor can
   release devices that its delegates hold suspended.  Right now,
   only the system self-suspensor has delegates.  For each device
   that a self-suspending driver attaches, it creates the device's
   self-suspensor, a delegate of the system self-suspensor.

   Suspensors stop a system-wide suspend/resume cycle from waking
   devices that the operator put to sleep with drvctl before the cycle.
   They also help self-suspension to work more simply, safely, and in
   accord with expectations.

4. Add the notion of device activation level, devact_level_t,
   and a routine for checking the current activation level,
   device_activation().  Current activation levels are DEVACT_LEVEL_BUS,
   DEVACT_LEVEL_DRIVER, and DEVACT_LEVEL_CLASS, which respectively
   indicate that the device's bus is active, that the bus and device are
   active, and that the bus, device, and the functions of the device's
   class (network, audio) are active.

   Suspend/resume calls can be qualified with a devact_level_t.
   The power-management framework treats a devact_level_t that
   qualifies a device suspension as the device's current activation
   level; it only runs hooks to reduce the activation level from
   the presumed current level to the fully suspended state.  The
   framework treats a devact_level_t qualifying device resumption
   as the target activation level; it only runs hooks to raise the
   activation level to the target.

5. Use pmf_qual_t, devact_level_t, and self-suspensors in several
   drivers.

6. Temporarily add an unused power-management workqueue that I will
   remove or replace, soon.
2009-09-16 16:34:49 +00:00
abs cebd4a38cb The ramdisk includes dmesg, so use it in preference to /kern/msgbuf 2009-09-16 10:40:02 +00:00
degroote 2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
apb 06867cdace If there are errors in creating a ${set}.tgz tar file, then don't
just press on regardless.
2009-09-12 11:01:55 +00:00
phx 51108c4538 New header file <sys/disklabel_rdb.h>. 2009-09-12 10:33:44 +00:00
jnemeth baf62bbf6a mention ./etc/mtree/set.<set name> 2009-09-12 09:24:32 +00:00
jnemeth 25c1684bb8 get rid of some prehistoric obsolete info 2009-09-12 09:21:31 +00:00
mrg f5adb56565 fix build for HAVE_BINUTILS=219. 2009-09-11 22:36:53 +00:00
mrg 3832fa3fd6 add ./etc/mtree/set.modules so that modules.tgz is created with
actual files in it, rather than a 20 byte .gz file (ie, empty file.)


HI JNEMETH!
2009-09-11 22:32:50 +00:00
mrg e553df3559 build binutils 2.19 compat libraries. this lets HAVE_BINUTILS=219
work for amd64, and probably for sparc64.
2009-09-11 16:01:58 +00:00
pooka 1b05a6d80a Add test case for PR kern/42020:
t_rnd (1/1): 1 test cases
    RNDADDDATA: Failed: Test case did not exit cleanly: Abort trap (core dumped)

Failed test cases:
    t_rnd:RNDADDDATA
2009-09-08 20:37:45 +00:00
pooka c7ef14e487 Build and install cgd, disk and rnd rump device components. 2009-09-08 20:34:47 +00:00
skrll 8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
mrg cfb8df7f4f install the fontconfig files into /etc/fonts/conf.avail, and symlink
the default ones into /etc/fonts/conf.d, as per default.

reported by jukka marin on netbsd-users.
2009-09-07 21:07:02 +00:00
mrg 2bd0cf0757 - do not create X11 subdirs always anymore
- we now only create them when building X11, and only create the ones
  we need (X11R6 xor X11R7)

- all these subdirs are now in the xbase set

- move the logic for running mtree into etc/mtree/Makefile

- split NetBSD.dist into 3 files, and have the build and postinstall handle
  creating a possibly merged one.  we still have a single installed file
  called "NetBSD.dist".
2009-09-07 19:34:29 +00:00
he 7a6a85f84e Move ./usr/tests/modules/Atffile from tests/mi to tests/module.mi.
This should get us building for evbppc again, which doesn't do modules.
2009-09-07 08:22:51 +00:00
jnemeth d539a2c691 Install the new modules.tgz set. 2009-09-07 02:31:53 +00:00
jnemeth fbeb8d3295 Create a modules.tgz set and move kernel modules into it. 2009-09-07 02:27:27 +00:00
pooka f59c73ba56 Build & install rump_smbfs 2009-09-06 21:03:27 +00:00
sborrill b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
macallan b1e03052c7 add files for the sunleo driver 2009-09-05 22:38:45 +00:00
taca 91660997c8 Correct files' suffix of the previous commit. 2009-09-05 10:16:46 +00:00
taca c12a22f6c5 Need entries for cat9 and html9 directorys. 2009-09-05 09:47:14 +00:00
apb d0e6aa56a4 The man page should be BOOT_FLAG.9, not BOOT_FLAGS.9.
I am not marking the incorrect name as "obsolete" in the set lists
because it's been less than 12 hours.  If you have already installed the
incorrectly named file, you will have to delete it manually.
2009-09-05 08:55:40 +00:00
apb 6d833d69e5 Add a boothowto(9) man page, and link it to BOOT_FLAGS(9). 2009-09-04 23:23:04 +00:00
christos 5420dd7695 PR/41991: Joachim Kuebart: add debug libs for libdrm_intel and unmark the
regular lib as profile.
2009-09-04 17:46:06 +00:00
pooka da73ba1e67 build & install librumpdev_netsmb and librumpfs_smbfs components 2009-09-04 17:21:33 +00:00
pooka de4fa6c51a Build & install rumpdev, a device component for rump. It currently
supports autoconf and is required for example by pseudo-device rump
components.
2009-09-03 15:35:58 +00:00