Commit Graph

90648 Commits

Author SHA1 Message Date
jwise
978f7e7d2d Import syspkg make infrastructure from draga.com CVS.
This is the latest version of <bsd.syspkg.mk>, and forms the basis of
NetBSD System Packages (syspkg).  Further development of this codebase
will occur within TNF's cvs repository, and copyright will be assigned
to TNF when the relevant paperwork is complete.
2002-01-07 22:48:30 +00:00
jwise
dec9565bbc Import syspkg documentation from draga.com CVS. 2002-01-07 22:46:16 +00:00
dbj
f629228e87 Changes to the wdc(4) mi driver that add the WDC_CAPABILITY_SELECT
flag and a callback function which gets called whenever a target is
selected on a channel.

The macppc wdc driver needs to reprogram its timing register
differently for each target on a channel each time that target is
selected.  I also changed the ATA4_TIME_TO_TICK to use a divisor of
15, which brings our timing calculations consistent with darwin.

These patches fix problems on my dual usb ibook with combo dvd/cdrw
drive because the hard drive supports udma and the combo drive does
not.  Without turning off the udma timings in the configuration
register, I cannot access the non-udma combo drive.
2002-01-07 22:11:17 +00:00
manu
4398be0cfc Added code to correctly match and launch o32 and n32 IRIX binaires (note that
there is n support yet in the kernel for running n32 binaries)
2002-01-07 22:07:37 +00:00
manu
0b98511d4a Added code to match and launch n32 binaries (there is no N32 support in the
kernel yet)
2002-01-07 22:05:03 +00:00
thorpej
3835413bc1 Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
  resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
  isa_attach_args.  If either of these members are non-NULL,
  direct configuration of the bus is being performed.  Add an
  ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
  direct configuration is not being performed and the probe fucntion
  is returning success.
* Adapt device drivers -- currently, all driver probe routines return
  "no match" if ISA_DIRECT_CONFIG() evaluates to true.
2002-01-07 21:46:56 +00:00
bjh21
f2b2562dd8 Don't print arm700bugcount at shutdown. I'm planning to make it into
an evcnt, so users can get at it using vmstat if they care.
2002-01-07 21:40:59 +00:00
bjh21
2b44bd85c5 On arm26, vectors.S needs to be at the start of the kernel text, so that it's
on a page boundary and can be mapped straight into zero page.  This means it
has to be in MD_SFILES on arm26, and not in SFILES.

This probably leaves kernel_text in the wrong place, but it at least leaves the system bootable.
2002-01-07 21:15:50 +00:00
chris
ba37f78a24 Add myself as cats port-maintainer. 2002-01-07 20:53:45 +00:00
jmcneill
898f375fa0 Re-enable radio at bktr. 2002-01-07 19:34:25 +00:00
aymeric
313d2d2f8c cast size_t to u_long for printf(3)-like calls
This only affects #ifdef DEBUG code.
2002-01-07 19:22:16 +00:00
jmcneill
fad06cc1a6 Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present. 2002-01-07 18:05:33 +00:00
drochner
db154a4d20 "attach radio at radio":
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.
2002-01-07 17:44:42 +00:00
thorpej
1c8e442315 Pull in files.wfont. 2002-01-07 17:36:40 +00:00
bouyer
cf39881866 For -l: specify the timeout on the command line (in seconds) instead of
hardwiring it to 2s, as suggested on tech-userlevel.
2002-01-07 17:34:08 +00:00
lukem
944794a509 add "ffs/ufs_inode.h" with a minimal struct inode, to replace
<ufs/ufs/inode.h>, since the latter has a lot of cruft we don't need
and it #include's way more stuff in <sys/*> (etc) than is needed here.
yet another nail in the "let's make makefs a proper host tool" coffin.
2002-01-07 16:56:26 +00:00
jhawk
48e0cb8d2d I depart releng. 2002-01-07 16:48:02 +00:00
lukem
557afc6071 - pull in <ufs/ufs/dinode.h> before <ufs/ffs/fs.h>
- #include <ufs/[uf]fs/*.h> instead of "ufs/[uf]fs/*.h", and don't bother
  with -I../../sys; we'll solve the hostprog problem another way and
  unconditionally pulling in NetBSD-current's usr/src/sys on a host system
  could be a Bad Thing.
2002-01-07 16:27:22 +00:00
lukem
202e920175 revert part of rev 1.14 - #include <ufs/ufs/dinode.h> - because that
makes it MUCH more difficult to reference this file stand-alone.
2002-01-07 15:25:22 +00:00
wiz
6041ec37c2 then -> than.
Diffs already sent back to binutils maintainers.
2002-01-07 14:54:09 +00:00
wiz
ca93d68d44 then -> than. 2002-01-07 14:47:37 +00:00
shin
aac10b548d use 'vnd0' instead of 'vnd0c', when unconfigure device. 2002-01-07 12:56:42 +00:00
martin
3b1c9c16b0 Improve usage message. 2002-01-07 12:22:02 +00:00
tron
559521efa3 Disable broken radio(4) support for bktr(4). The configuration code doesn't
even check if the TV card has a radio tuner.
2002-01-07 12:12:55 +00:00
simonb
ab5ccee692 Add the ability for the user, group and permissions of an MFS to be set
on the command line with the -u, -g and -p options respectively.
The old malloc() replacement (and related functions) didn't work with
the libc get{pw,gr}nam() functions so it was removed and a separate
memory allocation function added that is only called to allocate the
space for the MFS file system.
Also use a table for the usage flags instead of multiple fprintf()'s
with "if (mfs)" checks sprinkled through.
2002-01-07 12:00:09 +00:00
tron
2f741a258e Backout revision 1.155 which caused build failures if bktr(4) is used
without radio(4).
2002-01-07 11:58:28 +00:00
martin
74801af62d Display the authentication failure count (if non zero) and make the
limit settable.
2002-01-07 11:10:25 +00:00
martin
da249d7da1 Implement a retry counter for failed authorizations and limit it to
a configurable maximum (default: 5).

Some ISPs shut down accounts (at least temporarily) after to many bad
retries. This hit me recently due to a stupid pilot error and the fast
retry rate.
2002-01-07 10:49:02 +00:00
tron
65aa7d5e7c Clean up preprocess handling of optional radio(4) support a little bit. 2002-01-07 10:43:43 +00:00
shin
a0a83ff5d4 fix pasto.
s/trunc_line/trunc_line16/
2002-01-07 07:43:52 +00:00
jmcneill
227bbc411e Remove 'lack of recording support' from BUGS section. 2002-01-07 07:36:57 +00:00
jmcneill
311329a369 Integrate recording support into the driver. Not very heavily tested yet. 2002-01-07 07:33:09 +00:00
thorpej
a130e9e458 Implement bus_space_mmap(). 2002-01-07 07:17:17 +00:00
thorpej
059c98d5e4 Fix typo. 2002-01-07 06:03:19 +00:00
oster
19c2127b85 Revert previous. Need to be more careful with what gets chopped out. 2002-01-07 05:30:53 +00:00
lukem
d74b2fc0ea fix bugs reported by matt green:
- when calculating file size, round up to frag size not block size
- #define FFS_EI in makefs.h, and include that before [uf]fs/*.h

other stuff:
- round up final size to next block (instead of next sector)
- protect makefs.h from multiple inclusion
2002-01-07 05:07:50 +00:00
minoura
49a2f3f4c6 VND_CDEV -> VND.
Properly write disklabel.
2002-01-07 04:47:10 +00:00
minoura
4d762e1938 New toolchain.
XXX: New toolchain generates 100byte bigger object than the 8KB limit.
XXX: Therefore, compilation always fails!
2002-01-07 04:06:52 +00:00
minoura
195060e302 Copy alloca() and memcpy() definitions from libkern.h. 2002-01-07 04:01:13 +00:00
minoura
38d9c867f6 alloca() is now defined in libkern.h. 2002-01-07 04:00:30 +00:00
minoura
873ab50602 Use -Os optimization. 2002-01-07 04:00:02 +00:00
thorpej
ddb7327122 Add missing register prefix. 2002-01-07 02:54:27 +00:00
oster
345de5b80a Some of this stuff is really just for debugging, so compile it only if
DEBUG is defined.
2002-01-07 02:27:42 +00:00
oster
af9b7112ab #if 0 rf_SetReconfiguredMode() since it is unused now, but may be
needed someday.
2002-01-07 01:58:03 +00:00
deberg
7b6d08efe5 MALLOC, FREE, and a missed VOP_GETPAGES.9 2002-01-07 01:13:21 +00:00
deberg
7882fd04da gc unused M_NSMBDEV.
add comments reminding to mirror changes to the types list in malloc.9.
2002-01-07 01:02:19 +00:00
deberg
2549a25553 sync type list with <sys/malloc.h> 2002-01-07 01:00:31 +00:00
deberg
fe19c3cc0e add MALLOC.9 and FREE.9 2002-01-07 00:59:43 +00:00
wiz
ed2ab556af Fix two typos and a whitespace nit. 2002-01-07 00:55:25 +00:00
deberg
2935620216 add smbfs malloc types 2002-01-07 00:21:56 +00:00