Commit Graph

147879 Commits

Author SHA1 Message Date
tsutsui f6e0502337 - use CPUFLAGS rather than CFLAGS/AFLAGS
- specify "-march=r4000 -mabi=32" rather than -mips2
2006-06-11 05:03:20 +00:00
christos 9cfe87267e PR/33671: Nicolas Joly: Add a getpriority syscall to account for the fact
that the linux getpriority is off by 20.
2006-06-10 21:18:11 +00:00
christos ee08f35b9a regen 2006-06-10 21:16:49 +00:00
christos c02c268f6b linux getpriority is off-by-20 so use our own function.
From PR/33671: Nicolas Joly
2006-06-10 21:15:33 +00:00
kardel fcd5496328 Don't pick TSC by default on systems the have ENHANCED_SPEEDSTEP
compiled in. Many TSC's out there are sensitive to cpu frequency
changes. On these platforms we need to use other fixed frequency
timers (e. g. ACPI_PM_TIMER). Maybe we should add detection code
here whether TSC is sensible to cpu frequency changes.
2006-06-10 20:50:02 +00:00
dsl 6d35173b6d When we read 'last mounted' from an FFSv2 superblock set the flag to
default the partition to FFSv2 (instead of FFSv1).
This makes update installs add the correct bootstrap code.
Fixes PR/33682 and PR/32636 (and 33228 which has alrady been closed
as a duplicate of 32636).
2006-06-10 14:48:46 +00:00
msaitoh bc1d1f7877 o i82573 doesn't support jumbo frame
o set PBA for i8257[123]
o set MULA when sc_type == i8257[123]
2006-06-10 14:26:52 +00:00
tsutsui 8ff2abc2ad space nits. 2006-06-10 12:35:01 +00:00
rpaulo 58459b2d06 KNF. 2006-06-10 12:29:39 +00:00
kardel ced596e186 clarify time scale semantic issue 2006-06-10 11:42:07 +00:00
kardel 4eff7fe074 reference time.tv_sec in non timecounter case
missing conversion spotted by Geoff Wing
XXX This code need to be checked whether UTC time
is really the right abstraction. I suspect uptime
would be the correct time scale for measuring life times.
2006-06-10 11:30:37 +00:00
kardel 6aad29aa7b fix a missing conversion for a mono_time reference.
detected by Geoff Wing.
2006-06-10 11:12:09 +00:00
uebayasi ee3581b772 KNF. 2006-06-10 08:11:47 +00:00
msaitoh 42a72ed2e5 fix compile error 2006-06-10 08:08:33 +00:00
msaitoh d7c5c79883 add i8257[123] 2006-06-10 08:06:51 +00:00
msaitoh ca1810089d Enable i82573!!!
TODO:
	add some code for FLASH
	fix phy stuff
2006-06-10 08:04:08 +00:00
msaitoh ccf7001ac2 fix TX_COLLISION_DISTANCE_FDX and TX_COLLISION_DISTANCE_HDX (swapped).
add some register definitions (EERD, EEWR).
2006-06-10 08:01:31 +00:00
tsutsui 261274d592 Put newline if there is no input on Boot: prompt. 2006-06-10 07:49:29 +00:00
rjs 920cada8e2 Add opt_multiprocessor.h. 2006-06-10 06:38:07 +00:00
christos d5ba7564d8 stack police: don't allocate statvfs on the stack. 2006-06-09 23:24:24 +00:00
kardel 54cd6fafa8 re-order initialization sequence to have real counters available during autoconfig 2006-06-09 22:47:56 +00:00
christos f6ad6a2699 stack police: Fix the biggest offender with ~4K stack, by allocating the
buffer in the softc.
2006-06-09 21:58:57 +00:00
christos 7b128daa3b stack police: Introduce an opl_match function that uses malloc instead of
allocating ~2K of softc on the stack.
2006-06-09 21:55:33 +00:00
christos d13a9159e3 stack police: don't allocate statvfs on the stack. 2006-06-09 21:41:14 +00:00
christos f96931bf10 stack police: Don't allocate large buffers on the stack for I/O. Put the
buffer in the softc instead.
2006-06-09 21:34:19 +00:00
christos de34bda8ec stack police: don't allocate usb_events on the stack, malloc them directly.
this saves stack and an extra copy.
2006-06-09 21:33:42 +00:00
christos c10d68c29c stack police: Don't allocate 1k on the stack, only use malloc when we need to. 2006-06-09 21:33:01 +00:00
aymeric 11fb090059 in the softintr-with-si_callbacks framework, don't use add_sicallback()
everytime softintr_schedule() is called. They don't have the same semantics
when called multiple times before the callback is triggered.
Should avoid huge numbers of si_callbacks being created when a machine is
overloaded.
XXX the fix certainly applies to the atari port, too.
2006-06-09 21:29:39 +00:00
tron 3421be369d Remove "/var/spool/clientmqueue" and "/var/spool/mqueue" from the list
of obsolete directories and handle them via the "sendmail" item in
postinstall(8), too. These directories are of course necessary on
systems using the "sendmail" package.

Problem pointed out by Hisashi T Fujinaka on "current-users" mailing list.
2006-06-09 21:19:40 +00:00
tron 54a902424e Remove entries for "/var/spool/mqueue" (used by "sendmail" only). 2006-06-09 21:08:51 +00:00
drochner c87a7b61b9 fix obvious botch in radiotap header alignment (untested) 2006-06-09 19:17:46 +00:00
christos 79867d81ea PR/33681: Scott Ellis: Building 'bc' with SHAREDSTRINGS=yes fails
We need CPPFLAGS too now.
2006-06-09 19:16:36 +00:00
rpaulo f5a468f537 Revert previous. Wrong way of doing things... 2006-06-09 19:13:17 +00:00
gdamore a8d4d1e86c Add AR531X_SYSREG_WDOG_TIMER register. (Forgot to commit this earlier.) 2006-06-09 18:35:42 +00:00
tsutsui e684286988 Fix a botch on ANSIfy. 2006-06-09 18:11:58 +00:00
kent a70f7f188d - print audio format only when the format is changed
- print the name of STAC9220 codec
2006-06-09 16:56:30 +00:00
christos 13b8a79d82 PR/33677: Scott Ellis: Building with MKINET6=no causes netstat to fail compiling 2006-06-09 16:39:11 +00:00
kent 71842e07b1 shorten audio format message 2006-06-09 16:26:58 +00:00
skrll 27d5fc1bd1 Fixes for mknative runs on gcc3.
- get the information from a gcc3 .native
	- don't get gcc4 variables
	- put back the getvars for SHLIB_LINK SHLIB_MULTILIB as they work
	  on gcc3 and leave as XXX'd on gcc4.

I've re-arranged some of the variables to minimise the differences, but
didn't do them all.
2006-06-09 15:30:52 +00:00
tron 1efd685555 Remove obsolete entries for "sendmail". Patch suppled by Yoshito Komatsu
in PR misc/33658
2006-06-09 14:39:53 +00:00
tron c5ddcac518 Remove the "sendmail" configuration files and startup scripts from the
list of obsolete files. Resurrect the "sendmail" item which now flags
these files as obsolete unless the "sendmail" package is installed.
2006-06-09 12:18:30 +00:00
tron e230eea94b Don't create "/etc/mail/local-host-names" anymore after "sendmail"
has been removed from the base distribution.
2006-06-09 12:09:46 +00:00
rillig 2e91b4b8d5 The shell variable $@ should never be used without surrounding "quotes". 2006-06-09 10:11:44 +00:00
elad 2df93916c9 add KPI 2006-06-09 07:07:28 +00:00
dogcow 82f4871f70 As pointed out by Izumi and Tsutsui and Valeriy Ushakov, these should
properly be .ad. files, not .md. files.
2006-06-09 03:14:54 +00:00
garbled 76847dcb92 Completely rework how we look up PCI interrupts on prep:
1) Rather than build an array of the pci->intr mappings, build a proplib
tree.
2) add a SIMPLEQ of device properties to the pci_chipset_tag to hold the
proplib trees of each bus.
3) Move the interrupt routing code from pci_conf_interrupt to pci_map_intr()
4) Deal properly with non-native PCI bridge chips that are not recognized
by the prep firmware, and therefore are not noted in the residual data.

The major win of this restructure is #4. Hopefully I haven't broken
anything. Tested on a 7248-100, 7043-140 and 7024-E20.
2006-06-09 01:19:10 +00:00
nonaka a1a022c748 Added more register define. 2006-06-08 23:27:47 +00:00
gdamore c76dd4fa65 KNR->KNF. :-) 2006-06-08 22:47:26 +00:00
gdamore ef3b8c3cc3 Print bus_addr_t using PRIx64 (casting to uint64_t), which fixes builds
on 32-bit sparc (which have 64-bit bus_addr_t, but only 32-bit pointers.)
2006-06-08 22:42:24 +00:00
hubertf b6eda27950 Rename XEN kernel config files to be more consistent:
INSTALL_XEN3_U        -> INSTALL_XEN3_DOMU
  INSTALL_XENU          -> INSTALL_XEN2_DOMU
  XEN0                  -> XEN2_DOM0
  XEN3_U                -> XEN3_DOMU
  XENU                  -> XEN2_DOMU

OK'd by bouyer@
2006-06-08 22:17:07 +00:00