133760 Commits

Author SHA1 Message Date
reinoud
f323bc537c Backing out changes to clean up scsipi. I was pointed out there were
problems i hadn't seen. To prevent lossage i'd decided to back off all
changes and let them be reviewed on tech-kern.
2005-02-01 00:19:34 +00:00
kim
c9f56c04dc Add RFC 3378 EtherIP support, ported from OpenBSD to NetBSD by
Hans Rosenfeld (rosenfeld at grumpf.hope-2000.org)

This change makes it possible to add gif interfaces to bridges, which
will then send and receive IP protocol 97 packets. Packets are Ethernet
frames with an EtherIP header prepended.
2005-01-31 23:49:36 +00:00
christos
36eef77064 Revert part of previous [remove cd to objdir] and bump the crunchdate.
Make has been fixed. The cd was in the wrong place anyway, it should
immediately follow ${MAKE}, so it did not work as expected.
2005-01-31 23:48:38 +00:00
simonb
c9234f1972 Revert incorrect u_long->uint32_t conversion. 2005-01-31 23:46:33 +00:00
reinoud
4145e39ac7 Fix LP64 problems introduced by my u_long->uint32_t conversion. 2005-01-31 23:39:02 +00:00
reinoud
b220d67a3e Part of the cleanup of sys/scsipi's use of types; rename all u_int* to
uint* and change the u_long's to uint32_t's where possible. Note that the
iocl definitions/hooks have to be ulong (or u_long) or they'll bomb out.
2005-01-31 23:06:41 +00:00
christos
6e40c9e6fb PR/22559: Valeriy E. Ushakov: make -j can execute commands in wrong directory
(not in the obj dir).
Fixed by detecting when we cd, and cd'ing back.
2005-01-31 22:41:43 +00:00
hannken
c13136f43f No longer needed. Ffs snapshots are enabled by default. 2005-01-31 22:21:17 +00:00
hannken
760e1d68b6 Note fssconfig(8) in last commit. From Hubert Feyrer. 2005-01-31 22:11:46 +00:00
hannken
372dee1a5d Note file system internal snapshots. 2005-01-31 22:08:55 +00:00
reinoud
f93ea32254 As part of cleaning up sys/scsipi, replace all u_char by uint8_t and
replace all `short' with int16_t.
2005-01-31 21:13:16 +00:00
reinoud
6b6d77a575 Substitutereferences to u_char and u_short by the new uint8_t and uint16_t
types for unabigious storage references.
2005-01-31 20:25:54 +00:00
jkunz
1a54c65d22 Only a part of the PCI memory space is mapped via BAT registers in machdep.c.
Depending on where the firmware relocated the OpenPIC register window it may
be unmapped causing a kernel panic early in bootup when the OpenPIC is
initialized. So take care of mapping it if it is outside the already mapped
region. As mapiodev() requires UVM move this initialization to cpu_startup().
2005-01-31 18:48:41 +00:00
jkunz
5d47a0a676 Disable use of BTLB mappings as BTLB handling is broken. 2005-01-31 18:22:24 +00:00
jkunz
e4bed1ee79 Implement powerd(8) interface via sysmon(9) for power switch, controllable by sysctl(8). 2005-01-31 18:17:35 +00:00
jkunz
48f11129db Import mfcpu() from OpenBSD, needed by power switch code. 2005-01-31 17:32:15 +00:00
fredb
4627df7dfc Greg Oster just reminded me, I left out "vax". 2005-01-31 17:11:33 +00:00
hannken
9feea919e7 Add ffs file system snapshots. 2005-01-31 17:05:47 +00:00
hannken
a524d180e1 Regen. 2005-01-31 16:58:31 +00:00
hannken
d5fbb6936f Add file system snapshots to kernel configs.
- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
  have a disk.  Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2005-01-31 16:54:32 +00:00
fredb
680ae8dc03 Sync with raid(4) regarding the architectures that support booting directly
from RAID 1, using language supplied by Anders Dinson in PR bin/29158, with
some additions by myself.
2005-01-31 16:42:15 +00:00
he
66369741ef Move local variable declaration to variable declaration section at
top of function, and at least away from after active code within
a block.  Fixes build problem with gcc 2 (for vax).
2005-01-31 14:18:08 +00:00
enami
4cc9b2f8f4 Fix parsing of $GZIP so that not to overrun the end of string.
Addesses PR#28779.  Fix is slightly different that suggested in the PR
since it fails if $GZIP contains whitespace.
2005-01-31 09:11:49 +00:00
simonb
3d23624f78 Fix some ddb build problems. Problems pointed out by Nick Hudson. 2005-01-31 07:18:51 +00:00
joff
9ff2922f8d o Add missing SGI wskbd type
o Add new MATRIXKP wskbd type
2005-01-31 06:24:08 +00:00
joff
564073f0d1 Add support for a 4x4 matrix keypad wskbd connected via the TS-7200 DIO header. 2005-01-31 06:12:35 +00:00
joff
f9e7677725 new attribute matrixkp 2005-01-31 06:09:03 +00:00
joff
5c5c7c1047 Add new wskbd type MATRIXKP 2005-01-31 06:07:32 +00:00
joff
ccd1cf1023 Matrix keypad wskbd(4) support. Matrix keypads are cheap/rugged user input
devices found in many embedded systems.  They must be polled and
debounced in software.  Should be able to handle any size matrix keypad, but
only tested with a 4x4 (16-key) device attached to the TS-7200 ARM embedded
board via the DIO header.
2005-01-31 06:03:40 +00:00
joff
34e8ea9d68 Add Port-B GPIO register equates 2005-01-31 05:51:44 +00:00
erh
fdd16c549b Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
2005-01-31 05:19:18 +00:00
simonb
3c8e1a4259 Fix a typo. 2005-01-31 04:58:02 +00:00
thorpej
67568419ee Eliminate use of M_HASFCS. 2005-01-31 03:04:25 +00:00
thorpej
f3e948e11c Eliminate the use of M_HASFCS. 2005-01-31 03:02:27 +00:00
thorpej
a0c36aaebd Eliminate use of M_HASFCS. 2005-01-31 02:51:17 +00:00
erh
897e5cc524 PR #28644: Use realpath to make mount more forgiving of non-canonical
mount paths entered on the command line.
2005-01-31 02:32:35 +00:00
erh
a432762d9a Fix PR#3205 for the -a case: when the list of mount points comes from the
kernel, always use "raw" mode (-R option) so unmounting odd mount points works.
Also, fix available options in SMALL mode to include -R, not -r.
2005-01-31 01:19:30 +00:00
christos
0b71a2d5de Don't try to map a 0 size bss. 2005-01-30 23:59:57 +00:00
reinoud
842f22fc3a As in revision 1.213, not all information is returned in read-TOC format 0. In order to add a new generic read-toc ioctl, i renamed the origional to _f0 to indicate its only format 0. The routines can then be changed one at a time to the new generic calling. This patch fixes two calls i'd overseen.... silly me forgot to recompile :( 2005-01-30 23:42:58 +00:00
reinoud
82eee08288 The code asumes all programs want to know is TOC response format 0. Support
for TOC response format 1 and 2 are mandatory on CD/DVD too and provide
more information.

Next an IOCTL needs to be implemented that can read all TOC formats in a
generic way. This is pending.
2005-01-30 23:39:42 +00:00
simonb
f14df71842 Remove a blank line. 2005-01-30 23:38:17 +00:00
lukem
ebb5895a82 Explicitly cd to the .OBJDIR in the ${PROG}.strip target.
This fixes the "make -j N dependall" build issues people were
seeing in src/rescue, that appears to have been introduced
in rev 1.62.

Use the MAKEVERBOSE macros (if present) to print the pretty message.

Set the CRUNCH_VERSION to 20050130.
2005-01-30 23:04:33 +00:00
enami
22e3442eb2 - Modify realpath() not to alter process wide state current working
directory.  Strategy from FreeBSD.  Addess PR#28986.
- Make realpath() to return an error when null string is passed or
  the last component is symlink to null string.  The kernel lookup
  routine returns an error if such path are passed.
2005-01-30 22:37:32 +00:00
martin
2967f655ff Remove the no long usefull variants selected by undefining INTRLIST and
INTR_INTERLOCK to improve readability. Same object code generated as before.
2005-01-30 20:02:23 +00:00
thorpej
d8474fd414 Eliminate the use of M_HASFCS. 2005-01-30 19:30:16 +00:00
thorpej
22044e51d1 Eliminate use of M_HASFCS. Use a buffer large enough to receive a
full-length Ethernet frame.
2005-01-30 19:24:05 +00:00
thorpej
53eac4d6eb Eliminate use of M_HASFCS. 2005-01-30 19:15:41 +00:00
thorpej
a7ba88252d Eliminate use of M_HASFCS. 2005-01-30 19:03:23 +00:00
thorpej
0fa67488f7 - Fix some logic errors in multi-descriptor packet reception case for
DP83820.
- Eliminate use of M_HASFCS.
2005-01-30 18:56:34 +00:00
jwise
1161efa5da Comment back in cross-references to other man pages, was looking at a non-recent
DESTDIR.  Other half of last change was correct.

Pointed out by wizd.
2005-01-30 18:13:04 +00:00