summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-formulate the first sentence for better readabilitybrueffer2004-09-181-4/+3
| | | | MFC after: 3 days
* Actually this order (unlock, wakeup) in this case is race-safe and canpjd2004-09-181-1/+1
| | | | | | save us 2 context switches. Explained by: njl
* Reorganize the "Kernel Changes" section, including:hrs2004-09-182-664/+662
| | | | | | | | | | | - Add "Hardware Support" section and move device driver-related items there. - Move "Multimedia Support" and "Network Interface Support" into the "Hardware Support" section as sub-sections. - Move Netgraph-related items to "Network Protocols". For translators: many items are moved but the contents are not changed.
* Log the renaming of an interface. This should make it easier to followbrooks2004-09-181-0/+3
| | | | kernel log files.
* A long, long time ago in a CVS branch far away (specifically, HEAD priorjhb2004-09-182-6/+6
| | | | | | | | | | | | | to 4.0 and RELENG_3), the BTX mini-kernel used paging rather than flat mode and clients were limited to a virtual address space of 16 megabytes. Because of this limitation, boot2 silently masked all physical addresses in any binaries it loaded so that they were always loaded into the first 16 Meg. Since BTX no longer has this limitation (and hasn't for a long time), remove the masking from boot2. This allows boot2 to load kernels larger than about 12 to 14 meg (12 for non-PAE, 14 for PAE). Submitted by: Sergey Lyubka devnull at uptsoft dot com MFC after: 1 month
* MFi386: revision 1.56 (Add -fno-unit-at-a-time to CFLAGS).nyan2004-09-181-0/+1
|
* Man page for flowctl utility.glebius2004-09-172-1/+80
| | | | | mdoc(7) lessons by: ru Approved by: julian (mentor)
* Move makectx() after kdb_cpu_trap(), so the PCB will have possible MDmarcel2004-09-171-4/+4
| | | | corrections made to the trapframe. This is more logical.
* Fix an issue with ng_tty which (ab)used the tty->t_sc field which isphk2004-09-173-10/+13
| | | | | | reserved for the device drivers: Add a t_lsc field for line discipline private use.
* Provide our own FPSWA definitions, instead of depending on the Intelmarcel2004-09-174-50/+55
| | | | | | EFI headers and put them all in <machine/fpu.h>. The Intel EFI headers conflict with the Intel ACPI headers (duplicate type definitions), so are being phased out in the kernel.
* Don't attempt to install the (obsolete and disconnected) Early Adoptersbmah2004-09-171-6/+0
| | | | Guide on release media.
* Remove useless inclusion of <machine/fpu.h>marcel2004-09-171-1/+0
|
* - properly capitalize NetFlowglebius2004-09-171-8/+8
| | | | | | - small grammar fix Submitted by: ru
* - Remove advertising clause from copyright [1]glebius2004-09-175-40/+5
| | | | | | - Change my email to glebius@FreeBSD.org Requested by: ru [1]
* Fix compiler warnings, when __stdcall is #defined, by adding explicit casts.bms2004-09-172-2/+2
| | | | | | | | | | These normally only manifest if the ndis compat module is statically compiled into a kernel image by way of 'options NDISAPI'. Submitted by: Dmitri Nikulin Approved by: wpaul PR: kern/71449 MFC after: 1 week
* A man page for Netflow node.glebius2004-09-172-0/+248
| | | | | | English lessons by: julian mdoc(7) lessons by: ru Approved by: julian (mentor)
* The early-adopter doesn't exist in HEAD anymore. The source is there,keramida2004-09-171-1/+1
| | | | | | | | but it's disconnected from the build. Remove it from the architecture independent release documentation set, because it breaks "make release" when NODOC is undefined. Reviewed by: hrs
* Fix compilation again.phk2004-09-171-3/+0
|
* The long dead hand of the past has pushed forward useless bits in thisimp2004-09-174-28/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | driver. Trim its fingernails by removing some useless bits before fixing the 'thread not terminated on detach' problem. o dmacnt is no longer used now that we allocate at attach time. Remove it from struct fdc_data. o ISPNP was only ever set, but never tested. It used to be used for the allocation routines to change how it allocated resources. Since that's no longer necessary, retire the flag. o ISPCMICA was only ever tested, but never set. GC it. This removes a special case in determining the drive type. The drive type is now set in fdc_pcmcia.c, so the hack isn't needed anymore. Sadly, this isn't tested with a Y-E Data pcmcia floppy drive because there are a number of other issues that preclude it from working. o Fix ifdef for reading from the rtc. I'm of the opinion that this ifdef should be moved into fdc_isa.c, but not today as ideally there'd be other fixes to the probing of children. So now we just read it on i386 ! pc98 (there's no #define for MACHINE_ARCH, just MACHINE, hence this slightly inelegant kludge) and amd64. The PC98 exclusion likely isn't meaningful since pc98 uses a different driver, but will be when merging of the pc98 floppy code into this driver is complete (this is the other reason I think this block of code belongs outside fdc.c). All of these changes are safe to MT5.
* Teach swap1 script how to remove added swap devices on system shutdown.pjd2004-09-171-21/+1
| | | | | | Without this change, if one had a swap-on-mirror configuration, gmirror will rebuild mirror component(s) on boot, because they are dirty (they were open on shutdown).
* Use correct format string.le2004-09-171-1/+1
| | | | Submitted by: ssouhlal
* Don't refer to the (now disconnected) early adopter's guide anymore.bmah2004-09-171-7/+0
|
* Since early-adopter has been disconnected from the build, don't trybmah2004-09-171-1/+1
| | | | to install it to a RELNOTESng snapshot.
* Fix typo.dds2004-09-171-1/+1
| | | | MFC after: 2 days
* Userland control utility for ng_netflow.glebius2004-09-173-0/+254
| | | | Approved by: julian (mentor)
* Overhaul ucom serial driver by using generic stuff instead of homerolledphk2004-09-175-440/+154
| | | | all over the place.
* Add ttyopen and ttyclose functions which will do the right stuff forphk2004-09-171-0/+97
| | | | | | | most if not all of our tty drivers in the future. Centralizing this stuff enables us to remove about 100 lines of almost but not quite perfectly copy&paste code from each tty driver.
* forward declare struct cdev, not cdevsw;phk2004-09-171-1/+1
|
* Allocate tty at attach time instead of open time.phk2004-09-171-9/+17
|
* Be slightly less bogus in struct tty allocation.phk2004-09-171-3/+2
|
* Use tty->t_sc, ttyalloc() and lock/init termios from struct tty.phk2004-09-172-142/+114
|
* Include <sys/malloc.h> to satisfy new isa_dma stuff.phk2004-09-172-0/+2
|
* Pass the idea of the make(1) binary to use down to newvers.sh.ru2004-09-173-3/+3
| | | | | | | | | | | | | This is necessary so source upgrades use the correct binary. MFC after: 3 days For the record: Problem spotted by Scott Long, who mentioned that source upgrades from 4.7 to recent 5.x and 6.0 are broken. Detailed analysis shows that 4.7 has a broken make(1) binary. A breakage was fixed in RELENG_4 in make/main.c,v 1.35.2.7 by imp@, though the commit log erroneously stated "MFC 1.68" while in fact it should have been spelled as "MFC 1.67".
* Do not exit after printing usage, give geom(8) a chance to show standardpjd2004-09-172-2/+0
| | | | commands.
* - Show all commands in usage, even if those commands are not available.pjd2004-09-171-19/+32
| | | | | - When command is not available, just say it, instead of says, that command is unknown. Old behaviour seems to be too confusing.
* Add various stuff to struct tty and surounding areas in preparationphk2004-09-172-0/+28
| | | | for getting stuff from P4::phk_tty into -current.
* Use ttyalloc() instead of ttymalloc(NULL)phk2004-09-177-7/+7
|
* Bring kernel time variable and access function docs up to date bybrooks2004-09-174-110/+130
| | | | updating the list of variables and mentioning the bin(up)time functions.
* Document the struct if_data members ifi_datalen, ifi_epoch, andbrooks2004-09-171-0/+35
| | | | | | ifi_link_state. Reminded by: ru
* Add my birth date to our calendar.delphij2004-09-171-0/+1
| | | | Approved by: murray (mentor)
* Add ttyalloc() which in due time will be the successor to ttymalloc(),phk2004-09-172-0/+8
| | | | but without the "struct tty *" argument.
* Further refine some #ifs:das2004-09-171-2/+2
| | | | | | | - Simplify the logic by using __GNUC_PREREQ__. Suggested by stefanf. - Make math.h compile with old (pre-8.0) versions of icc. Submitted by sf [sic].
* Commit patch to supress spurious link change events. Apparently, withwpaul2004-09-171-2/+11
| | | | | | | | | | | | | | | | | | | | | | | copper NICs, a link change event is posted whenever MII autopolling is toggled off and on, which happens whenever someone calls bge_miibus_readreg() or bge_miibus_writereg() to access the PHY registers. This means anytime someone called the SIOCGIFMEDIA ioctl on a bge interface, the link would reset. Even a simple "ifconfig bge0" would do it, though other apps like dhclient or the PPPoE daemon could trigger it as well. An obvious symptom of this problem is lots of "bgeX: gigabit link up" messages appearing on the console for no apparent reason. Through experimentation, I determined that when a real link change event occurs, the BGE_MIMODE_AUTOPOLL in the BGE_MI_MODE register is always set, so now if we have a copper NIC and an link change event occurs and the BGE_MIMODE_AUTOPOLL bit is clear, we ignore the event. Note that this does not apply to the original BCM5700 chip since we use a different method for sensing link changes with that chip (the status block method was broken), nor to fiber optic NICs since they don't use the GMII PHY access registers.
* Fix two ugly errors:kientzle2004-09-171-2/+6
| | | | | | | | | 1. The correct cutoff for large uid/gid handling is 1<<18, not 1<<20. 2. Limit the uid/gid in the 'x' extension header (where numeric extensions are not permitted) to 1<<18, but use the correct value in the regular header (where numeric extensions are permitted). Thanks to: Dan Nelson MFC after: 3 days
* Handle _FDE results of 5 bytes (vs. 5 uint32_t's). BIOS vendors find yetnjl2004-09-171-37/+54
| | | | | | | | | | another way to misinterpret the spec. Also, always fall back to the hints probe on any attach failure, not just when _FDE fails. Thanks to imp and scottl for finding this. Tested by: rwatson (minimally) MFC after: 5 days
* Destroy global tapmtx when the if_tap module is unloaded.rwatson2004-09-171-0/+2
| | | | RELENG_5 candidated.
* Break out altq_enable/disable from DIOC{START,STOP}ALTQ into sepratemlaier2004-09-171-41/+83
| | | | | | | | | | functions that can be called from enable/disable pf as well. This improves switching from non-altq ruleset to altq ruleset (and the other way 'round) by a great deal and makes pfctl act like the user would except it to. PR: kern/71746 Tested by: Aurilien "beorn" Rougemont (PR submitter) MFC after: 3 days
* Bump document date forgotten in last commit.simon2004-09-161-1/+1
|
* Change tabs to whitespaces.glebius2004-09-161-2/+2
| | | | | Noticed by: ru Pointy hat to: glebius
* - Make md(4) 64-bit clean.pjd2004-09-165-182/+138
| | | | | | | | | After this change it should be possible to use very big md(4) devices. - Clean up and simplify the code a bit. - Use humanize_number(3) to print size of md(4) devices. - Add 't' suffix which stands for terabyte. - Make '-S' to really work with all types of devices. - Other minor changes.
OpenPOWER on IntegriCloud