summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Search for "elf32 kernel" (and elf64) and "elf32 module" (and elf64)peter2003-04-062-4/+12
| | | | | as well as "elf kernel" and "elf module". This is a precursor to x86-64 support in the i386 loader so it can load an elf64 x86-64 kernel.
* We can't use ${WORLDTMP}/usr/{include,lib} for the compat layer. Thisimp2003-04-062-5/+29
| | | | | | | | | | | is because we populate these directories later, and a subsequent -DNOCLEAN build may fail. So, we put them in ${WORLDTMP}/build/usr/{include,lib} instead and adjust Makefile.boot. Again, this works on -stable and -current, but might break older versions. Submitted by: ru@
* Don't need the gccism include_next since we won't create this fileimp2003-04-061-6/+1
| | | | | | when a real sys/endian.h exists. Submitted by: ru@
* Use __FBSDID.mux2003-04-061-1/+3
|
* Correct the definition of the link_addr and rbd_addr fieldsmux2003-04-061-2/+2
| | | | | in struct fxp_rfa. This should have been committed with my last endianness fixes.
* - Instead of rolling our own alignment-safe function, use le32enc()mux2003-04-061-78/+66
| | | | | | which deals with both endianness and alignment issues. - Collect low-hanging fruits for endianness safety. - Use 0xffffffff instead of -1 where appropriate.
* Remove an unnecessary trunc_page() from vmapbuf().alc2003-04-061-1/+1
| | | | Reviewed by: tegge
* - Use __FXP_BITFIELDX macros to make the configuration bitfieldmux2003-04-051-81/+99
| | | | | | | | | | | endian safe. - Change some u_int to u_int8_t which make more sense here since we're really defining bytes. That produces the same code due to how bitfields work. - Add the definition of the vlan_drop_en bit (not used yet). - Add some useful comments. Obtained from: NetBSD
* Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() for themux2003-04-051-2/+21
| | | | | | | | RX part of this driver too. It's better since the code wasn't dealing with bus_dmamap_load() returning EINPROGRESS, and this can't happen with bus_dmamap_load_mbuf(). Submitted by: jake
* Don't reinitialize fields that are already initialized by getpbuf().alc2003-04-052-2/+2
|
* Unbreak the !LAZY_SWITCH case. I #ifdef'ed too much when I addedpeter2003-04-053-6/+3
| | | | | | the ifdefs prior to commit and killed the same-address-space test. Submitted by: bde
* Regression tests for printf()'s floating point formats.das2003-04-052-1/+168
| | | | Tests for correct printing of subnormals are lacking.
* Rework the floating point code in printf(). Significant changes:das2003-04-052-151/+191
| | | | | | | | | | | | | | | | | | - We used to round long double arguments to double. Now we print them properly. - Bugs involving '%F', corner cases of '#' and 'g' format specifiers, and the '.*' precision specifier have been fixed. - Added support for the "'" specifier to print thousands' grouping characters in a locale-dependent manner. - Implement the __vfprintf() side of hexadecimal floating point support. All that is still needed is a routine to convert the mantissa to hex digits one nibble at a time in the style of ultoa(). Reviewed by: silence on standards@
* Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa().das2003-04-058-1/+135
| | | | | | | In support of this, add some MD macros to assist in converting long doubles to the format expected by gdtoa(). Reviewed by: silence on standards@
* Add missing prototype for gdtoa().das2003-04-051-0/+2
|
* Add missing #include to unbreak previous commit.das2003-04-051-0/+1
|
* Correct some buffer sizes.das2003-04-053-23/+42
| | | | | | | | | | - __vfprintf()'s 'buf' has never been used for floating point, so don't define it in terms of (incorrect) constants describing floating point numbers. The actual size needed depends on sizeof(uintmax_t) and locale details, so I slightly overestimated. - We don't need a 308-character buffer to store the string "308". With long doubles and %a we need more than three characters, though.
* Sufficient access checks are performed by vmapbuf() that callingalc2003-04-051-15/+1
| | | | | | useracc() is pointless. Remove the call to useracc() from physio(). Reviewed by: tegge
* Include <geom/geom_disk.h> and stop including <sys/disk.h>. Themarcel2003-04-051-1/+1
| | | | former gives us 'struct disk'.
* update man page to reflect change in default syslog level ipmon is now ↵darrenr2003-04-051-1/+1
| | | | compiled with
* Remove GIANT_REQUIRED from getpbuf(). Reviewed by: teggealc2003-04-051-2/+1
| | | | Reduce pbuf_mtx's scope in relpbuf(). Submitted by: tegge
* Use assignment, not equivalence test.njl2003-04-051-1/+1
| | | | No response from: suz
* Migrate to a new way of dealing with building from old revisions ofimp2003-04-0516-73/+194
| | | | | | | | | | | | | | | | | FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
* Add a basic manual page for wlan(4).trhodes2003-04-052-0/+71
| | | | Reviewed by: imp, ru
* Add a manual page for the smapi module.trhodes2003-04-052-1/+155
| | | | Reviewed by: ru, mdodd
* Fix ed compilation with PAE by using %jx instead of %x.cognet2003-04-051-4/+4
|
* Use vm_paddr_t instead of vm_offset_t for the paddr parameter of vesa_mmap.cognet2003-04-051-1/+1
|
* Don't forget to send the Content-length header after calculating it.dwmalone2003-04-051-0/+1
| | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
* More warns cleanups and misc cleanups:dwmalone2003-04-051-25/+31
| | | | | | | | | | | 1) Make fetch_mode a pointer 'cos we can just use the optarg. 2) Constness. 3) Add/complete prototypes. 4) Change an int to a socklen_t. 5) Don't use C++ style comments. 6) Check return values from read and fork a little more carefully. 7) Avoid closing an uninitialised int. 8) Get rid of unneeded extern declarations.
* Fix/add missing accents on the weekday names.trhodes2003-04-051-5/+5
| | | | | | PR: 37219 Submitted by: Nicola Vitale <nivit@libero.it> Reivewed by: Alex Dupre <sysadmin@alexdupre.com>
* The Netgear MA311 is a Prism 2.5 card.imp2003-04-051-0/+1
| | | | Submitted by: duncan@quantumlogic.net
* - Change a FXP_NRFABUFS which would have been a FXP_NTXCB.mux2003-04-051-3/+3
| | | | | | - Correct some bus_dmamap_sync() calls. Submitted by: jake
* Change the default syslog facility from LOG_LOCAL0 to LOG_SECURITY afterdarrenr2003-04-051-1/+1
| | | | discussion on security@freebsd.org.
* When session is over, IPv6 default route to tun should beume2003-04-051-1/+4
| | | | | | removed, too. MFC after: 1 week
* Change the default syslog facility from LOG_LOCAL0 to LOG_SECURITY afterdarrenr2003-04-051-1/+2
| | | | discussion on security@freebsd.org.
* DWL-520 is used to describe three or four different cards. only someimp2003-04-051-0/+7
| | | | | of them are prism based and are thus supported by wi. Document this fact.
* MFp4: Link strtof.3 and strtold.3 to strtod.3.tjr2003-04-051-0/+1
|
* Zero out the struct tm supplied by the caller. Otherwise,mtm2003-04-051-0/+1
| | | | | | | | strange things might happen when garbage values in the struct get passed in to localtime_r() and family. Noticed by: marcus Approved by: markm (mentor)(implicit)
* MFp4: Pentium/Athlon-optimised implementation of wcschr().tjr2003-04-052-1/+78
|
* Setup our interrupt only at the end of fxp_attach(), when allmux2003-04-051-12/+12
| | | | | | other allocations/initializations have been successful. I kinda doubt it will fix the recent breakage that some people are seeing, but this could have caused problems for sure.
* Add SMP_TSC option, which can be used on SMP systems where the TSCstegge2003-04-044-2/+8
| | | | are synchronized to reduce context switch cost.
* Diff reduction with my p4 changes:imp2003-04-041-5/+5
| | | | | Add @ before ${ECHODIR} where appropriate because we don't need to echo the echo command... This gets rid of extra echo ===> in log files...
* Add a rudimentary but working driver for the Adlink "NuDaq PCI-9812".phk2003-04-042-0/+239
| | | | | | This is a 4 channel 20 msps 12 bit ADC card. Anyone wanting to play with GNUradio or similar can start here.
* style.Makefile(5)obrien2003-04-0473-114/+129
|
* Define ovbcopy() as a macro which expands to the equivalent bcopy() call,des2003-04-0416-73/+41
| | | | | | | | | | | | | | to take care of the KAME IPv6 code which needs ovbcopy() because NetBSD's bcopy() doesn't handle overlap like ours. Remove all implementations of ovbcopy(). Previously, bzero was a function pointer on i386, to save a jmp to bzero_vector. Get rid of this microoptimization as it only confuses things, adds machine-dependent code to an MD header, and doesn't really save all that much. This commit does not add my pagezero() / pagecopy() code.
* Use sized cast matching the sized pointer.phk2003-04-041-1/+1
|
* Retire <sys/diskslice.h>phk2003-04-041-35/+0
|
* Libdisk does not need to include <sys/diskslice.h> any more.phk2003-04-0429-72/+48
| | | | | | | | | Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h> Move i386/pc98 specific bits from <sys/reboot.h> to <i386/include/bootinfo.h> as well. Adjust includes in sys/boot accordingly.
* Add NE2000DVF_AX88190 flag to Corega FEther PCC-TXDsanpei2003-04-041-1/+1
| | | | (see also /etc/defaults/pccard.conf rev.1.172)
* - Print out an error message instead of dereferencing a NULL pointerrobert2003-04-041-7/+29
| | | | | | | | | | if matchinstalled() found no packages, which happens to be the case after fresh installations. - Instead of using strstr(3) to match the package name, depend on matchinstalled()'s MATCH_REGEX package matching. PR: bin/50384 MFC after: 2 weeks
OpenPOWER on IntegriCloud