Commit Graph

65584 Commits

Author SHA1 Message Date
benno
1100470ac5 Whitespace fixes. 2001-10-07 13:27:27 +00:00
benno
0c1686270f Add new files needed by previous commit. 2001-10-07 13:24:56 +00:00
benno
994f7977f1 Mega-patch for OpenFirmware loader support.
- Flesh out ofw_readin routine.
- Add OpenFirmware load and exec routines.
- Make sure memory allocation for the kernel is done correctly.
- Change the way the heap is allocated so as to make it easier to deallocate
  when we hand over.
- Add a command to print memory maps similar to the one for ia64.

With this patch, I can now load and hand over to a kernel on my iMac.  There
are some problems with OpenFirmware routines failing after the hand over that
still need to be addressed.
2001-10-07 13:22:25 +00:00
nyan
c0f87bdb16 Rewrite the pc98 bus_space stuff.
The type of bus_space_tag_t is now a pointer to bus_space_tag structure,
and the bus_space_tag structure saves pointers to functions for direct
access and relocate access.

Added bsh_bam member to the bus_space_handle structure, it saves access
method either direct access or relocate access which is called by
bus_space_* functions.

Added the mecia device support. If the bs_da and bs_ra in bus tag are set
NEPC_io_space_tag and NEPC_mem_space_tag respectively, new bus_space stuff
changes the register of mecia automatically for 16bit access.

Obtained from:	NetBSD/pc98
2001-10-07 10:04:18 +00:00
sos
d1756c2eb0 Update to reflect the change in ata.h
Forgotten by: sos
2001-10-07 07:48:12 +00:00
rwatson
a8e918187a o Introduce an 'options REGRESSION'-dependant sysctl namespaces,
'regression.*'.
o Add 'regression.securelevel_nonmonotonic', conditional on 'options
  REGRESSION', which allows the securelevel to be lowered for the purposes
  of efficient regression testing of securelevel policy decisions.
  Regression tests for securelevels will be committed shortly.

NOTE: 'options REGRESSION' should never be used on production machines, as
it permits violation of system invariants so as to improve the ability to
effectively test edge cases, and improve testing efficiency.
2001-10-07 03:51:22 +00:00
deischen
4d56211ce3 Limit maximum poll interval to 60 seconds. This prevents an overflow
from occurring when converting from a timeval/timespec to a timeout in
milliseconds.

Submitted by:	dwmalone
2001-10-07 02:34:43 +00:00
luigi
ac520683a4 Add code to print interrupt statistics when they will be
exported via sysctl.
2001-10-07 02:13:23 +00:00
grog
1a3242a7f4 Clarify foundation of GDR/DDR. 2001-10-07 01:22:44 +00:00
luigi
1f43bba0a8 Fix a typo (missing "; at the end of a string) 2001-10-07 00:29:59 +00:00
marcel
d76212b1b4 Regen. 2001-10-07 00:21:18 +00:00
luigi
c04cd23c33 Fix a typo and sync a comment with the version in RELENG_4 2001-10-07 00:21:13 +00:00
marcel
95e78e313c Fix the NODEF entry for setpgid() so that it matches the NODEF
entries in sys/kern/syscalls.master.
2001-10-07 00:20:08 +00:00
luigi
f6153dda13 Make this compile again after the changes to make bridge kld'able 2001-10-07 00:18:48 +00:00
marcel
36b166d5a0 Fix breakage caused by previous commit. The lkmnosys and lkmressys
syscalls are of type NODEF but not in a way that fits the given
definition of that type. The exact difference of lkmressys and
lkmnosys is unclear, which makes it all the more confusing. A
reevaluation of what we have and what we really need is in order.

Spotted by: Maxime Henrion <mux@qualys.com>
Pointy hat: marcel
2001-10-07 00:16:31 +00:00
mjacob
d45f75145f Misunderstanding documentation caused me to try and set 1Gbps/2Gps/Auto
connection speed for the 2300 in the wrong offset in the ICB. Oops.

Respect some QLogic errat wrt PCI errors on certain shared host/RISC registers.
2001-10-06 20:41:18 +00:00
mjacob
7187812d5e Whups- remember to zero the isr pointer arg. 2001-10-06 19:34:43 +00:00
mjacob
9c76564553 Respect QLogic's errata- read BIU_ISR even on the 2300
to see if there's an interrupt (avoids PCI parity errors
which can occur on the 2312 if you access some registers
from the host at the same time the RISC on the 2312 is
C accessing them).

MFC after:	1 day
2001-10-06 19:19:24 +00:00
obrien
255e13a69a Document -depth 2001-10-06 18:07:32 +00:00
nyan
93864b29c8 - Moved the bus_dma declarations from bus_{at386,pc98}.h into bus_dma.h.
(bus_dma.h is repo-copied from bus_at386.h)
- Added '#include <machine/bus_dma.h>' into bus.h for backward compatibility.
2001-10-06 16:27:21 +00:00
dfr
9c40c48b35 Move console probes until after we set boothowto so that 'boot -h' works. 2001-10-06 16:06:48 +00:00
dfr
bfef499fd2 Make this work on ia64. I have no idea why it works on alpha - it
shouldn't.
2001-10-06 15:58:54 +00:00
dfr
9aa18339c5 Assume round-to-nearest mode for floating point. 2001-10-06 15:57:22 +00:00
dfr
5a104aeceb Enable console. There are far too many 'ifdef __i386__' in this file. 2001-10-06 13:34:30 +00:00
dfr
f3ad16a441 Add /etc files for ia64. 2001-10-06 12:55:50 +00:00
dfr
ad0a8c18c5 Put the label at the same place as i386 for compatibility. 2001-10-06 12:35:22 +00:00
keramida
3beda2c349 Add an entry with my birthday.
Approved by:	nik
2001-10-06 11:40:36 +00:00
sheldonh
257d2f0756 Updates for changes made by KSE import.
Submitted by:	Chad David <davidc@acns.ab.ca>
2001-10-06 11:19:41 +00:00
sos
910868a68f Update with latest ATA/ATAPI ver 6 rev 2 items. 2001-10-06 11:07:04 +00:00
dfr
db02c4b19d Delete legacy pcib code - we can't possibly work without acpi on ia64. 2001-10-06 10:09:57 +00:00
dfr
a633df4359 Remove nexus_pcib.c. 2001-10-06 10:09:14 +00:00
marcel
1cf975d017 o Change ia64_memory_address to explicitly take a u_int64_t
o  Add memcpy_fromio, memcpy_io, memcpy_toio, memset_io,
   memsetw and memsetw_io. I'm not sure this is the right
   place for it, though.
2001-10-06 09:31:43 +00:00
marcel
452ebcd6f6 Make this compile on ia64. 2001-10-06 09:27:43 +00:00
dfr
1ccf57de34 Implement these using mux1 and extr.u. I'll update the userland versions
similarly. Actually, they should be inline on gcc.
2001-10-06 08:35:05 +00:00
bmah
b76a3279bd New release notes: eaccess(2), vfs.vmiodirenable=1.
MFCs noted:  wall(1) -g, route(8) indirect routes, route(8) net/bits
syntax, route(8) proxy only published ARP entries.
2001-10-06 05:16:27 +00:00
fenner
6bafb37ece - Fix typo in "didn't find tag in list" code -- != should have been ==.
This fixes the panic when receiving a packet with an unknown tag, and
  also allows reception of packets with known tags.
- Allow overlapping tag number spaces when using multiple hardware-assisted
  VLAN parent devices (by comparing the parent interface in
  vlan_input_tag() just as in vlan_input() ).
- fix typo in comment

MFC after:	1 week
2001-10-06 05:02:11 +00:00
peter
c47e8a25e5 Fix some 64-bit uncleanliness. 2001-10-06 04:09:26 +00:00
peter
464367cbf9 Fix some style bugs before fixing some real bugs. 2001-10-06 04:03:20 +00:00
peter
ef8de6ecd9 Fix a stack trashing bug when int != sizeof(pointer)
This fixes the ia64 boot!  We have scsi disks!
2001-10-06 03:49:38 +00:00
peter
c8c1edd0bb Fix a warning. (unused p if not INVARIANTS) 2001-10-06 02:13:58 +00:00
peter
6bf7b963a2 Add ia64/ia64/sapic.c 2001-10-06 02:03:00 +00:00
bmah
a78257e500 Update list of supported ata(4) controllers (from ata.4 manpage). 2001-10-05 23:52:15 +00:00
bmah
9ff24d436a New release note: MAXMEM/hw.physmem.
Use entity for agp(4) driver.
2001-10-05 22:52:43 +00:00
bmah
0535afbab0 Add an abstract for this document, flesh out the introduction a
bit, and fix up the upgrading section.  While I'm here, delete some
of the SGML comments that were left-over from merging the source
files.

MFC after:	1 day
2001-10-05 22:03:35 +00:00
jayanth
3c25260058 Add a flag TF_LASTIDLE, that forces a previously idle connection
to send all its data, especially when the data is less than one MSS.
This fixes an issue where the stack was delaying the sending
of data, eventhough there was enough window to send all the data and
the sending of data was emptying the socket buffer.

Problem found by Yoshihiro Tsuchiya (tsuchiya@flab.fujitsu.co.jp)

Submitted by: Jayanth Vijayaraghavan
2001-10-05 21:33:38 +00:00
imp
d3e4b82b69 Don't core dump if we can't get the index automatically.
Debug info from:	Ben Hockenhull <benh@jpj.net>
2001-10-05 20:38:32 +00:00
dillon
34563ec4a5 vinvalbuf() was only waiting for write-I/O to complete. It really has to
wait for both read AND write I/O to complete.  Only NFS calls vinvalbuf()
on an active vnode (when the server indicates that the file is stale), so
this bug fix only effects NFS clients.

MFC after:	3 days
2001-10-05 20:10:32 +00:00
dfr
0eec0bfe7b Add ia64 to the list of machines which don't do unaligned reads. 2001-10-05 19:04:23 +00:00
dfr
3908c08eda Add BOOTP support. 2001-10-05 19:03:01 +00:00
dfr
1b40dafbcc Fix some dependency violations (don't know why gas didn't catch this). 2001-10-05 19:02:21 +00:00