Commit Graph

133748 Commits

Author SHA1 Message Date
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
thorpej
505f0442e5 Eliminate use of M_HASFCS. 2005-01-30 17:33:48 +00:00
thorpej
586d85d4f2 Eliminate use of M_HASFCS. 2005-01-30 17:23:45 +00:00
chs
6390d0aeca hack around a UVM problem that causes hangs when large processes fork.
see PR 26908 for details.
2005-01-30 17:23:05 +00:00
chs
9a3f782ac4 define a new LWP flag which indicates that we're in the process of
doing a context switch.  use this on sparc and sparc64 to avoid trying
to access user memory (writing the register windows back to the stack)
in this case (since it's both unnecessary and wrong).
2005-01-30 16:56:26 +00:00
jsm
a4dab13a3b Correct typos in German fortune. Reported by Charles Senger, csenger at UCSD.
Reviewed by <hubertf>.
2005-01-30 13:49:28 +00:00
simonb
82c8633b96 Fix the date of the Australia Day holiday. 2005-01-30 06:09:26 +00:00
tsutsui
56ac22d93c Enable disconnect/reselect for esp(4) on 3/80 by default.
It also implies to enable tagged queueing, which works fine on my 3/80:
---
NetBSD 2.99.15 (CHARIOT) #184: Sun Jan 30 07:13:08 JST 2005
	tsutsui@mirage:/usr/src/sys/arch/sun3/compile/CHARIOT
Model: sun3x 80
fpu: mc68882
total memory = 65536 KB
avail memory = 62496 KB
mainbus0 (root)
obio0 at mainbus0
 :
dma0 at obio0 addr 0x66001000 ipl 2: rev 0
esp0 at obio0 addr 0x66000000 ipl 2: ESP100, 20MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
 :
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST31230N, HP04> disk fixed
sd0: 1001 MB, 3992 cyl, 5 head, 102 sec, 512 bytes/sect x 2051460 sectors
sd0: async, 8-bit transfers, tagged queueing
sd1 at scsibus0 target 3 lun 0: <FUJITSU, M1606S-512, 6237> disk fixed
sd1: 1041 MB, 3457 cyl, 6 head, 102 sec, 512 bytes/sect x 2131992 sectors
sd1: async, 8-bit transfers, tagged queueing
boot device: sd0a
 :
---
(yes, async but tagged queueing :-)
2005-01-30 04:07:59 +00:00
tsutsui
f855ff2dde Enable NCR_F_DMASELECT to use DMA xfer on command/selection phase.
It didn't work on sun3x when I and gwr tried back in April 1999,
but now it just works fine.
2005-01-30 03:52:41 +00:00
jwise
449bc64125 <sys/types.h> must be included before <sys/uuid.h>.
Also, while here, remove `SEE ALSO' section which referenced only man pages
which we do not have.
2005-01-30 03:20:17 +00:00
martin
101ec2e3b7 If we get a kernel data access fault without curlwp, we would panic later
in uvmfault with a meaningless messages - instead, panic right away with
a helpfull message. Or course, neither of this should ever happen.
2005-01-29 22:42:19 +00:00
jonathan
b0c550f12b Remove duplicate stanza for re(4) at cardbus. When I added an entry
here and enabled it in i386 GENERIC_LAPTOP, I missed that yamt@ had
already added an entry here.
2005-01-29 22:05:26 +00:00
jonathan
0e8a3d7d0d Now that we've switched to the split re(4) for PCI, add the cardbus
frontend for the split re(4) to files.cardbus, and to the generic x86
laptop config (sys/i386/conf/GENERIC_LAPTOP).

NB: as best I know, there are still unresolved issues in attach and
powersave, with the NetGear cardbus cards and re(4).
2005-01-29 21:59:53 +00:00