Commit Graph

153993 Commits

Author SHA1 Message Date
christos cc00177a7d Separate -Os into COPTS; pointed out by Izumi Tsutsui. 2006-11-28 16:24:54 +00:00
christos edc54bf23f s/COPTS/CPUFLAGS/
s/-O2 //
2006-11-28 16:15:36 +00:00
jdc 80c18fce28 Allow ada-exp.c and c-exp.c to be built when using a read-only source tree. 2006-11-28 13:44:52 +00:00
christos 17a81bf4b3 PR/35146: George Michaelson: minor fix to let radeonfb.c compile 2006-11-28 13:38:39 +00:00
tsutsui 2e0739074e Pull fixes from FreeBSD's rgephy.c:
Revision 1.9:
> Make the rgephy driver advertise both 1000_FD and 1000_HD bits in
> autoneg mode. A couple of the devices don't autoneg correctly unless
> configured this way.

Revision 1.11:
> Due to the poor PHY documentation from RealTek I can't sure but I
> think the RealTek PHY needs driver to set RGEPHY_BMCR_AUTOEN bit of
> RGEPHY_MII_BMCR register and proper ANAR register setting for manual
> media type selection.
> This fixes long standing manual media type selection bug in rgephy(4).
2006-11-28 13:36:29 +00:00
pooka 898c6532b4 don't allow mmap if operating uncached 2006-11-28 13:20:03 +00:00
yamt c6970b82a3 uvm_fault: unwrap a short line. 2006-11-28 13:16:37 +00:00
yamt ec1dd90a2a uvmpdpol_pagedequeue: clear PQ_INITIALREF.
otherwise, dequeue/enqueue cycles (eg. page loaning) can cause
an assertion failure in clockpro_pageenqueue.
2006-11-28 13:14:53 +00:00
elad 64c69c4ece No need to copy fp_type twice. 2006-11-27 23:05:18 +00:00
agc a43651f235 Modify netmask calculation so that /0 is fast-tracked, and so that network
addresses with bit 31 set are processed properly.

Fix from Hiroshi Nakamoto in PR 34578.

	[22:09:17] agc@inspiron1300 ...dist/iscsi/src 26 > ./n 10.4/16 10.4.0.29 10.4/16 10.5.0.29 10.4/0 10.4.0.19 10.4 10.4.0.19 10.4.3/8 10.4.3.7 10.4.3/24 10.4.3.7
	addr 10.4.0.29 00000a04, mask 10.4.0.0 00000a04, slash 16
	mask 10.4/16 matches addr 10.4.0.29

	addr 10.5.0.29 00000a05, mask 10.4.0.0 00000a04, slash 16
	No match for mask 10.4/16 from addr 10.5.0.29

	mask 10.4/0 matches addr 10.4.0.19

	addr 10.4.0.19 0a040013, mask 10.4.0.0 0a040000, slash 32
	No match for mask 10.4 from addr 10.4.0.19

	addr 10.4.3.7 0000000a, mask 10.4.3.0 0000000a, slash 8
	mask 10.4.3/8 matches addr 10.4.3.7

	addr 10.4.3.7 000a0403, mask 10.4.3.0 000a0403, slash 24
	mask 10.4.3/24 matches addr 10.4.3.7

	[22:09:20] agc@inspiron1300 ...dist/iscsi/src 27 > ./n any 192.168.0.1
	mask any matches addr 192.168.0.1
2006-11-27 22:24:27 +00:00
dogcow 371dea6737 revert last change, as havard's fix is more general. 2006-11-27 20:29:12 +00:00
drochner aa18e3ca8f match ICH-7M / -DH
(The watchdog doesn't reset the box for me, but it is present according
to the datasheet.)
2006-11-27 19:58:20 +00:00
elad 174436830e Adapt to recent Veriexec sysctl(9) changes. 2006-11-27 17:55:12 +00:00
elad e0d8be4efc Move Veriexec's sysctl(9) setup routine and helper to kern_verifiedexec.c. 2006-11-27 17:45:36 +00:00
christos 0bc546e589 PR/35136: Gary Duzan: Enable Ultra/133 on newer aceride 2006-11-27 16:56:38 +00:00
christos f56cde20e9 PR/35135: David A. Holland: timespec patches for utmpentry.c 2006-11-27 16:54:10 +00:00
skrll 6cff9cd2f4 Initialise the result rather than returning garbage. 2006-11-27 07:22:07 +00:00
hubertf 11e3c1d9c6 Remove references to Ultrix gunzip
Discussed with and OK'd by simonb (port-pmax portmeister)

Fixes PR port-pmax/18320
2006-11-27 01:57:25 +00:00
elad 21bc112176 Implement Veriexec's raw disk policy on-top of kauth(9)'s device scope,
using both the rawio_spec and passthru actions to detect raw disk
activity. Same for kernel memory policy.

Update documentation (no longer need to expose veriexec_rawchk()) and
remove all Veriexec-related bits from specfs.
2006-11-26 20:27:27 +00:00
martin a6d16a29ee If no scsibus is configured, do not silently fail the attach but print
a message pointing at the usscanner(4) manual page.
Addresses PR port-i386/22393.
2006-11-26 20:14:41 +00:00
dsl d23b6980be Comment where make's internal copy of .OBJDIR gets changed 2006-11-26 20:09:57 +00:00
martin f1a1cc2e0c dsl says: "you need to use .ie not .if if you want to use .el".
This makes missing descriptions of the misc/ directory appear in the
output.
2006-11-26 19:21:55 +00:00
christos 52e2f11be9 PR/35129: David A. Holland: exit in utmpx code should be _exit 2006-11-26 17:33:23 +00:00
dyoung c11fb5eece Add 'volatile' to rx/tx descriptor fields. 2006-11-26 17:31:32 +00:00
elad f7fbd2e8b5 Add an XXX comment so we don't forget what we need to do here:
* XXX: This is bogus. We should be failing the request
* XXX: not only if this specific slice is mounted, but
* XXX: if it's on a disk with any other mounted slice.
2006-11-26 17:21:25 +00:00
wiz 1730a98675 Drop trailing whitespace. 2006-11-26 16:40:44 +00:00
wiz dee9175769 Bump date for previous. 2006-11-26 16:36:06 +00:00
tsutsui e2e881bcd1 Match BCM5752 PHY. From Matthias Drochner and FreeBSD/OpenBSD. 2006-11-26 16:31:48 +00:00
hubertf 9382f56fa0 Update a bit, in light of PR 18320:
* update size information
 * fix some paths
 * do we want to ship an Ultrix gunzip again? I think we should...
   I'll ask the portmaster for input.
2006-11-26 16:29:07 +00:00
tsutsui b9957a3cdf Regen from miidevs rev 1.69:
> Add BCM5752 Gig-E PHY. From Matthias Drochner and FreeBSD/OpenBSD.
2006-11-26 16:28:19 +00:00
tsutsui 7437e6f3b5 Add BCM5752 Gig-E PHY. From Matthias Drochner and FreeBSD/OpenBSD. 2006-11-26 16:26:35 +00:00
elad df07d5d652 I wanted to do this for so long: veriexec_init_fp_ops() -> veriexec_init(). 2006-11-26 16:22:36 +00:00
jmmv 91af0d68b1 Add a '-l' flag and a 'L' command to interactive mode to list all known
file system types.  (Similar to what fdisk does for partition types.)

Closes PR bin/12954.
2006-11-26 16:16:31 +00:00
tsutsui e2e52f2716 - add working vge* at pci? and ciphy* at mii?
- remove an obsolete comment
2006-11-26 16:14:03 +00:00
tsutsui 48100f0649 Fix stupid bugs found on sparc64:
- checking if dmamap != NULL is not valid because dmamap is not cleared
  in bus_dmamap_unload(9)
- no need check RX mbufs and call m_freem() and bus_dmamap_unload()
  in vge_init() since it's done in prior vge_stop()

Now vge(4) works fine on Ultra5.
2006-11-26 16:11:51 +00:00
martin 3837d02a37 Fix PR install/34375 by fixing a few filenames. 2006-11-26 15:44:07 +00:00
tsutsui 2b15bbad22 Include <sys/device.h> for struct device. 2006-11-26 15:40:14 +00:00
bjh21 1372543b73 The ARM7500 ID is no longer a guess -- I've confirmed it on a real ARM7500. 2006-11-26 15:10:18 +00:00
tsutsui 8c8ebe8b93 - prepare inline functions to set 48 bit DMA address which avoid 64 bit
arithmetic on ILP32 (sizeof(bus_addr_t) == 4, exactly) hosts
- prepare and use VGE_PREV_TXDESC() macro
- use VGE_[TR]XDESCSYNC() calls more efficiently
- wrap a sanity check against VGE_RDSTS_OWN in vge_newbuf()
  with #ifdef DIAGNOSTIC since it should not happen
- use sc->sc_tx_free (number of free TX descs) to check if TX packets are
  queued or sent
- call vge_start() only if the interupt is actually handled by this driver
- some misc cosmetics
2006-11-26 15:04:15 +00:00
drochner 29d30258a4 mk.conf might refer to all kinds of make variables, so we can't just pull
it in without everything else (reported by martin). So revert to 1.485
which did at least work for everyone.
2006-11-26 13:59:49 +00:00
elad 8e60b8367c PR/34984: Denis Lagno: minor problems with tsearch.3 2006-11-26 13:10:54 +00:00
tsutsui cd5182f737 Introduce a new VGE_RX_BUFSIZE macro which represent default RX mbuf
length and define VGE_RX_PAD (which is 4 bytes) for ETHER_ALIGN (2 bytes)
padding only in !__NO_STRICT_ALIGNMENT case to avoid confusion.
As per comments from Murata Shuuichirou in PR kern/31323.
Tested on i386 and macppc.
2006-11-26 13:09:32 +00:00
martin f9ac3281a1 Fix kernel names (install -> netbsd-INSTALL), closes PR 12007. 2006-11-26 12:56:12 +00:00
cube 35d885e59a Introduce acpi_check() to inform the caller whether the acpi driver is
still enabled, as it could have been disabled through USERCONF.

Use it in amd64 and i386 mainbus code and skip all ACPI processing in case
it is disabled.
2006-11-26 12:30:05 +00:00
peter 7682107fa9 Check if /etc/pf.conf and /etc/pf.os exist and copy them if they don't.
Suggested by lukem@.
2006-11-26 12:05:21 +00:00
jmmv 175531f6ed Mention the maximum line length allowed in the passwd file.
Inspired by PR misc/34664.
2006-11-26 11:43:48 +00:00
peter 91c703ae73 Since the -D option doesn't do anything useful at all, remove it. 2006-11-26 11:38:07 +00:00
jmmv 964c039645 Explain that groups can be defined using multiple lines due to the fixed
line length used to parse the file.  Closes PR misc/34664.
2006-11-26 11:35:39 +00:00
martin da210ed133 Adapt iso image names to current conventions and suffix them with the current
version number.
2006-11-26 11:26:27 +00:00
tsutsui 8632b7c3a3 Sync two alternative IDs with pcidevs. 2006-11-26 06:09:09 +00:00