summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* oopsmjacob2006-01-261-0/+3
|
* Plug a leak in the newer contigmalloc() implementation. Specifically, ifalc2006-01-261-10/+5
| | | | | | | a multipage allocation was aborted midway, the pages that were already allocated were not always returned to the free list. Submitted by: tegge
* Document JMicron JMB360.brueffer2006-01-261-1/+3
|
* Fix an aliasing error in the new TP support and reenable it in the build.kientzle2006-01-262-3/+5
|
* Put in at least an attempt to ID the 2422 (4Gb part)mjacob2006-01-261-0/+14
|
* Document a bit pts.cognet2006-01-261-0/+34
|
* Make getttyent() report what the pts ptys as well.cognet2006-01-261-1/+38
|
* ptsname() bits for pts.cognet2006-01-261-5/+45
|
* Teach openpty() how to deal with pts.cognet2006-01-261-0/+45
|
* Linux compat bits needed to make linux programs use the new ptys :cognet2006-01-263-1/+33
| | | | | | | | | | linux_ioctl.[ch] : Implement LINUX_TIOCGPTN, which returns the pty number linux_stats.c : - Return the magic number for devfs. - In various stats()-related functions, check that we're stating a file in /dev/pts, and if so, change the st_rdev field to match what linux expects to be there for a slave pty device. The glibc checks for this, and their openpty() fails if it is no correct.
* Bring in a sysv-style pts implementation, as found in the rwatson_pts ↵cognet2006-01-264-8/+1026
| | | | | | | | | | | | perforce branch. It works the same as its SysV/linux counterpart : You obtain a fd to the master pseudo terminal by opening /dev/ptmx, which craetes a node for the master as /dev/pty[num] and a node for the slave as /dev/pts/[num]. It should play nicely with the existing BSD ptys. By default, the system will use the BSD ptys, one can set the sysctl kern.pts.enable to 1 to make it use the new pts system. The max number of pty that can be allocated on a system can be changed with the sysctl kern.pts.max. It defaults to 1000, and can be increased, but it is not recommanded, as any pty with a number > 999 won't be handled by whatever uses utmp(5).
* - Add a umass quirk that should have been part of latest commit.flz2006-01-261-0/+4
| | | | | Approved by: iedowse (implicit) MFC after: 3 days
* Add Product IDs :flz2006-01-263-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sandisk Cruzer Micro 128MB [5] - DANE-ELEC zMate 512MB USB flash drive [7] - Attache 256MB USB 2.0 Flash Drive [8] - Sandisk Cruzer Micro 256MB [9] Add scsi_da.c quirks : - Samsung USB key 128Mb [1] - Kingston DataTraveler 2.0 [2] - Creative MuVo Slim [3] - United MP 5512 Portable MP3 Player [4] - Sandisk Cruzer Micro 128MB [5], [9] - PNY USB Flash keys [6], [7], [8] Add umass.c quirks : - Sandisk Cruzer Micro 128MB [5] - DANE-ELEC zMate 512MB USB flash drive [7] - Attache 256MB USB 2.0 Flash Drive [8] - Sandisk Cruzer Micro 256MB [9] PR: usb/90081 [1], usb/89196 [2], kern/86131 [3], usb/80487 [4], usb/75970 [5], usb/75578 [6], usb/72344 [7], usb/65436 [8], usb/70835 [9] Submitted by: Henri-Pierre CHARLES <hpc@prism.uvsq.fr> [1], Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [2], Erich Rickheit KSC <rickheit-fbp@numachi.com> [3], tnu@chania.di.uoa.gr [4], Bram Abbekerk <bram@abbekerk.demon.nl> [5], Thomas Pornin <pornin@bolet.org> [6], parv <parv@pair.com> [7], Peter D. Quilty <pdquilty@adelphia.net> [8], Raymundo M. Vega <rvega@ms-smtp-03-eri0.socal.rr.com> [9] Approved by: iedowse MFC after: 3 days
* - Fix infinite loop in strip_log().flz2006-01-251-4/+2
| | | | | | | - Remove useless variable. Submitted by: jkim Approved by: jkim
* Add support for the JMicron JMB360 SATAII controller.sos2006-01-253-24/+119
| | | | | | Thanks to JMicron for providing needed info. HW donated by: Ralf Folkerts
* Remove sound since the sound(4) manual page no longer have ajoel2006-01-253-5/+0
| | | | | | HARDWARE section. Reviewed by: brueffer
* - Remove the comment about WSS/MSS cards being the best supportedjoel2006-01-251-18/+0
| | | | | | | | cards on the market. - Remove the entire HARDWARE section. It's superfluous since all snd_* manual pages have their own HARDWARE sections these days. Reviewed by: brueffer
* Fix typos and clean up some comments.joel2006-01-253-10/+10
| | | | Approved by: ariff
* Tie the amr_linux module into the build for i386 & amd64ambrisko2006-01-251-0/+4
|
* o Add IANA assigned InterBase Database Remote Protocol 3050/tcp/udp.maxim2006-01-251-0/+2
| | | | | | PR: conf/92319 Submitted by: skv MFC after: 1 week
* Crank WARNS up to 6, just because we can.dougb2006-01-251-1/+1
|
* Axe KTR_ALQ_MASK now that KTR_WITNESS is off unless you hack an #ifdefjhb2006-01-253-4/+1
| | | | | in subr_witness.c. I did add a comment in subr_witness.c noting that KTR_WITNESS is incompatible with KTR_ALQ.
* The UPCI 32 rp(4) card uses BAR 2 like the UPCI 80 card.jhb2006-01-251-0/+2
| | | | | Submitted by: Vitaliy Skakun vit dot ska at gmail dot com MFC after: 3 days
* Make the %V{is} extension handle a NULL pointer like %s does: output "(null)"phk2006-01-256-5/+199
| | | | | | | | | | | | | Add %M{essage} extension which prints an errno value as the corresponding string if possible or numerically otherwise. It is not currently possible to do the syslog(3) like %m extension because errno would need to get capatured on entry to the first function in the printf family, so %M requires you to supply errno as an argument. Add %Q{uote} extension which will print a string in double quotes with appropriate back-slash escapes (only) if necessary.
* Add a dummy arm Write_Disk() function, and compile libdisk on arm.cognet2006-01-254-6/+52
|
* Move the Internet Society copyright message so that it appears in thedfr2006-01-2535-910/+910
| | | | formatted page as well as the source.
* Make sure buffers in if_bridge are fully initialized before copyingcperciva2006-01-251-0/+3
| | | | | | them to userland. Security: FreeBSD-SA-06:06.kmem
* - Avoid calling vm_object_backing_scan() when collapsing an object whenjeff2006-01-251-1/+3
| | | | | | | | the resident page count matches the object size. We know it fully backs its parent in this case. Reviewed by: acl, tegge Sponsored by: Isilon Systems, Inc.
* don't embed scope id before running packet filters.ume2006-01-251-20/+20
| | | | | | Reported by: YAMAMOTO Takashi <yamt__at__mwd.biglobe.ne.jp> Obtained from: NetBSD MFC after: 1 week
* The previous revision incorrectly changed a switch statement into an ifalc2006-01-251-3/+3
| | | | | | | | | | statement. Specifically, a break statement that previously broke out of the enclosing switch was not changed. Consequently, the enclosing loop terminated prematurely. This could result in "vm_page_insert: page already inserted" panics. Submitted by: tegge
* Remove a redundant variable assignment in arena_reg_frag_alloc().jasone2006-01-251-1/+0
|
* If no coalesced exact-fit small regions are available, but delayed exact-jasone2006-01-251-173/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fit regions are available, use the delayed regions in LIFO order, in order to increase locality of reference. We might expect this to cause delayed regions to be removed from the delay ring buffer more often (since we're now re-using more recently buffered regions), but numerous tests indicate that the overall impact on memory usage tends to be good (reduced fragmentation). Re-work arena_frag_reg_alloc() so that when large free regions are exhausted, it uses small regions in a way that favors contiguous allocation of sequentially allocated small regions. Use arena_frag_reg_alloc() in this capacity, rather than directly attempting over-fitting of small requests when no large regions are available. Remove the bin overfit statistic, since it is no longer relevant due to the arena_frag_reg_alloc() changes. Do not specify arena_frag_reg_alloc() as an inline function. It is too large to benefit much from being inlined, and it is also called in two places, only one of which is in the critical path (the other call bloated arena_reg_alloc()). Call arena_coalesce() for a region before caching it with arena_mru_cache(). Add assertions that detect the attempted caching of adjacent free regions, so that we notice this problem when it is first created, rather than in arena_coalesce(), when it's too late to know how the problem arose. Reported by: Hans Blancke
* Back out changes made in rev. 1.151.ups2006-01-251-1/+1
| | | | | | They were bogus. Cluebat applied by: jhb@
* Touch all the pages wired by sysctl_wire_old_buffer() to avoid PTEtruckman2006-01-251-1/+12
| | | | | | | | | | | | modified bit emulation traps on Alpha while holding locks in the sysctl handler. A better solution would be to pass a hint to the Alpha pmap code to tell mark these pages as modified when they as they are being wired, but that appears to be more difficult to implement. Suggested by: jhb MFC after: 3 days
* Whitespace fix.jhb2006-01-241-1/+1
|
* - Add a new KTR_SUBSYS in place of KTR_SPARE1 to serve as a subsystemjhb2006-01-242-2/+13
| | | | | | | placeholder similar to KTR_DEV. Explain the use of KTR_DEV and KTR_SUBSYS in a comment as well. - Retire KTR_WITNESS and instead have KTR_WITNESS default to off but use KTR_SUBSYS if it is enabled.
* Add in the Linux IOCTL shim and create the megadev0 device soambrisko2006-01-244-0/+201
| | | | | | | | | | | | | | | | Linux LSI MegaRaid tools can run on FreeBSD until Linux emulation. Add in the Linux IOCTL shim and create the megadev0 device so Linux LSI MegaRaid tools can run on FreeBSD until Linux emulation. Add glue to build the modules but don't tie it into the build yet until I test it from the CVS repo. via the mirror on an amd64 machine. Tie this into the Linux32 emulation on amd64 so the tools can run on amd64 kernel. Cleaned up by: ps (amr_linux.c)
* With the recent changes to the implementation of page coloring, thealc2006-01-242-4/+2
| | | | | the option PQ_NOOPT is used exclusively by vm_pageq.c. Thus, the include of opt_vmpage.h can be removed from vm_page.h.
* As a quick fix disable the update of the linux ld.so.cache file, sincenetchild2006-01-241-1/+1
| | | | | | currently it grabs some FreeBSD native libs too. A final solution is under discussion with brooks.
* When doing IP forwarding with [FAST_]IPSEC compiled into the kernelandre2006-01-241-8/+10
| | | | | | | | | | | | | | | | | ip_forward() would report back a zero MTU in ICMP needfrag messages because on a IPSEC SP lookup failure no MTU got computed. Fix this by changing the logic to compute a new MTU in any case if IPSEC didn't do it. Change MTU computation logic to use egress interface MTU if available or the next smaller MTU compared to the current packet size instead of falling back to a very small fixed MTU. Fix associated comment. PR: kern/91412 MFC after: 3 days
* In ip_mdq() compute the TV_DELTA the correct way around.andre2006-01-241-1/+1
| | | | | | PR: kern/91851 Submitted by: SAKAI Hiroaki <sakai.hiroaki-at-jp.fujitsu.com> MFC after: 3 days
* In in_control() remove the temporary in_ifaddr structure from theandre2006-01-241-1/+2
| | | | | | | | | ia_hash only if it actually is an AF_INET address. All other places test for sa_family == AF_INET but this one. PR: kern/92091 Submitted by: Seth Kingsley <sethk-at-meowfishies.com> MFC after: 3 days
* s/<space><tab>/<tab>/pjd2006-01-241-1/+1
|
* The 'reload' command did the same as 'restart' command.pjd2006-01-241-2/+0
| | | | | | Allow user to decide if SAD and SPD entries should be flushed on 'reload'. With this change flush/spdflush is not done automatically (it could still be done from ipsec.conf).
* Remove stale comment.pjd2006-01-241-2/+0
| | | | | | This change should be made in rev1.9. MFC after: 1 week
* Use $ipsec_file instead of hardcoded /etc/ipsec.conf.pjd2006-01-241-1/+1
| | | | | | This change should be made in rev1.2. MFC after: 1 week
* Fix minor bug in uRPF:oleg2006-01-241-2/+8
| | | | | | | | | | | If net.link.ether.inet.useloopback=1 and we send broadcast packet using our own source ip address it may be rejected by uRPF rules. Same bug was fixed for IPv6 in rev. 1.115 by suz. PR: kern/76971 Approved by: glebius (mentor) MFC after: 3 days
* Do not test for DMA status on legacy ATA devices. This has the unfortunatesos2006-01-241-1/+2
| | | | | | side effect that legacy ATA controllers at irq14 and irq15 cannot share interrupts with anything else without major problems. This fixes the ATAPI DMA problems some systems/devices have seen.
* Implement 'ipfw fwd laddr,port' feature for UDP. According to ipfw(8)glebius2006-01-241-0/+20
| | | | | | it should work, however it never did. People expect it to work. PR: kern/90834
* Add locking annotation and comments about socket, pipe, fifo problem.davidxu2006-01-241-125/+126
| | | | Temporarily fix a locking problem for socket I/O.
OpenPOWER on IntegriCloud