Commit Graph

111811 Commits

Author SHA1 Message Date
fvdl
9af6ac1fc3 Initialize name and dma tag. 2003-04-20 16:52:40 +00:00
martin
c1a5cc810d The sysmon device is used for sysmon_power too. 2003-04-20 16:51:35 +00:00
fvdl
da526ebf96 Initialize ahc->name. From Izumi Tsutsui.
Set ahc->parent_dmat correctly.
2003-04-20 16:50:13 +00:00
thorpej
4b39c84472 Reinstate one change from rev. 1.12, but differently. Preload r2 with
0 before frobbing the control register, and use r2 in the ARMv4 TLB
flush.
2003-04-20 16:21:40 +00:00
fvdl
c620a2fd66 Fix some AHC_DEBUG printf cases, and undef AHC_DEBUG. 2003-04-20 16:04:54 +00:00
bjh21
b196917760 KNF 2003-04-20 15:57:12 +00:00
fvdl
4d6d3fb37b Call ahc_softc_init in attach function. 2003-04-20 15:48:25 +00:00
thorpej
b534f5853c Back out previous. There were several problems with the patch that
was checked in:
* It was not actually disabling the MMU, and so jumping to the
  reset vector would happily cause a panic(), since it would be
  the kernel's reset vector, not the ROM's.
* In the event the system was using high vectors, VECRELOC was not
  getting cleared, which has the potential to wreak havoc when re-entering
  the ROM.
* It was totally broken for CPUs < ARMv4; you still need to disable
  the MMU on those, just need to skip the ARMv4 TLB flush.
* The code that was checked in would only work if the kernel is mapped
  VA==PA.  For systems where the kernel is NOT mapped VA==PA, you only
  get the prefetch depth # of insns (2) after the MMU is turned off before
  you have fix the PC.

Backing out the change fixes rebooting on several evbarm platforms.
2003-04-20 15:42:51 +00:00
fvdl
c8a7cfc565 Actually define ahc_htole and reverse macros. 2003-04-20 15:32:10 +00:00
fvdl
6288ca0b93 Delay ahc_free until after shutdown hook disestablish. 2003-04-20 15:31:50 +00:00
bjh21
610cdc7b39 Create a symlink to sys/arch/arm/include alongside the one to
sys/arch/${MACHINE}/include.
2003-04-20 14:37:59 +00:00
manu
cbfe387fcc swapped the words in lseek offset reassembly (that was was confused-endian)
Removed useless include that came from a copy/paste.
2003-04-20 14:36:05 +00:00
bjh21
ef40902514 80 columns, dammit! 2003-04-20 14:21:13 +00:00
bjh21
2020a72f18 Use <sys/float_ieee.h> rather than <sys/math_ieee.h>, which doesn't exist. 2003-04-20 12:57:43 +00:00
bjh21
b05cf42fce Use %lu format and (u_long) cast when printing size_t. 2003-04-20 12:54:05 +00:00
fvdl
4fe822c162 Correct typo in previous. 2003-04-20 12:05:42 +00:00
fvdl
3bc3f3793f Add FreeBSD compat define for PPR_PCOM 2003-04-20 11:53:28 +00:00
fvdl
7ae27ded66 Regen. 2003-04-20 11:20:51 +00:00
fvdl
21e3127716 Sync with FreeBSD rev. 1.10: correct default precompensation value for RevA
hardware.
2003-04-20 11:19:33 +00:00
fvdl
26813b6545 Get rid of AHC_LUN_WILDCARD, making differences with FreeBSD smaller. 2003-04-20 11:17:20 +00:00
yamt
9cb95972fa add simple_locks that are missed in the previous. 2003-04-20 07:06:33 +00:00
gmcgarry
2eaa7e53cc Update to reflect caddr_t -> void * change. 2003-04-20 04:42:15 +00:00
christos
c6f13c73f2 Mention that -t is harmful. 2003-04-20 03:55:38 +00:00
christos
3a1e3ae4c9 Add flags to look in Apparently-To: or Delivered-To: fields. Inspired by jhawk. 2003-04-20 03:32:50 +00:00
christos
62d7b4df25 PR/5458: Andrew Brown: acct(2) bug accounting to files marked sappnd 2003-04-20 03:20:18 +00:00
christos
622e897fdb PR/5265: John Buller: ttyflags does not report syntax errors or unknown
tty options in /etc/ttys
Make this use fparseln and use warn and warnx to report problems.
2003-04-20 03:03:18 +00:00
christos
3de451fe1e PR/5039: Greg A. Woods: vacation should look at Apparently-To: and
Delivered-To: headers.
2003-04-20 01:58:00 +00:00
christos
c7e6b87cad PR/3713: Aaron Brown: crontab fails with signals.
While I am here eliminate forking a shell for the editor.
2003-04-20 01:24:05 +00:00
lukem
2a820a18cf Add explicit descriptions of the filesystem', primary', and `secondary'
arguments, including a clarification that `secondary' is relative to the root
of the filesystem, not a path name to that file if `filesystem' is mounted.
Resolves PR 20977 from Jim Bernard.
2003-04-20 00:38:31 +00:00
christos
962f5ffade try to get this to work for both endian machines. 2003-04-20 00:32:16 +00:00
nakayama
625feacd44 Change a fixup of interrupt number a bit. 2003-04-20 00:29:37 +00:00
christos
552cc1f0ea interactive errors. 2003-04-20 00:19:56 +00:00
christos
96efc68fce Interactive logs 2003-04-20 00:19:05 +00:00
christos
676485e564 interactive error output. 2003-04-20 00:18:33 +00:00
christos
26ae50113f new logging files. 2003-04-20 00:17:42 +00:00
christos
10dd0ebe00 PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive 2003-04-20 00:17:22 +00:00
manu
1368d826d9 Regen 2003-04-20 00:10:20 +00:00
manu
beca0eff14 Fixed an ABI bug in lseek: NetBSD pads the syscallarg structure because of
the off_t argument, Darwin does not. In order to get the off_t  argument
going through our syscall machinery, we declare it as two long arguments,
and we reassemble it in darwin_sys_lseek.
2003-04-20 00:09:41 +00:00
christos
ec5141c96b PR/3046: Chris G. Demetriou: ldd actually runs target programs.
This is the case only with a.out programs, and the manual page has been
changed to reflect that in the BUGS section. Since most our architectures
have been converted to elf, this is not an issue anymore.
2003-04-19 23:45:44 +00:00
christos
9a119fd83b PR/21236: Simon Hitzemann: Fix missing space in error format. While I am
there make a single copy of the error string instead of 6 and share it.
2003-04-19 23:37:26 +00:00
tls
539a3fbb0a The sysctl returning the amount of memory in the system returns "int",
which is silly.  Luckily, it really does return the correct result if
interpreted as an unsigned int.  This change lets dump work on 32-bit
systems that have more than 2GB of RAM.
2003-04-19 23:29:12 +00:00
christos
52be04c4cc PR/17738: Matthias Drochner, PR/21230: Onno van der Linden: vt100 wscons
crashes restoring cursor. Fixed by adding a flag as suggested.
2003-04-19 23:28:46 +00:00
christos
48b6cfff3a add <sys/float_ieee.h> 2003-04-19 23:10:33 +00:00
christos
dd094b9993 Add a float_ieee.h file for all IEEE compliant archs to include. 2003-04-19 23:06:33 +00:00
christos
a2dfb1b570 PR/3012: Greg A. Woods: Write all float.h files [except the vax of course]
in terms of float_ieee.h
2003-04-19 23:05:28 +00:00
christos
a94b10edf1 PR/2996: Greg Oster: Fix comment to match reality. Names are padded to
four bytes, but the bytes are not null.
2003-04-19 22:02:39 +00:00
christos
a5b5f849f2 add ident. 2003-04-19 21:56:49 +00:00
christos
7e60cdc11e add tcp.ident. 2003-04-19 21:55:48 +00:00
thorpej
fc08e6bd7a Adapt to ARM32_PMAP_NEW. 2003-04-19 21:52:03 +00:00
christos
18262fc53f PR/2970: D'Arcy J.M. Cain: Eliminate trailing slashes in mkdir(2) 2003-04-19 21:46:17 +00:00