summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak nForce3 SATA support.sos2006-08-052-21/+20
|
* hook packet injection tools upsam2006-08-052-1/+15
|
* test programs for 802.11 packet injectionsam2006-08-0517-0/+4460
| | | | Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* 802.11 packet injection test toolsam2006-08-053-0/+879
| | | | Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* crude stumbler using raw packet api'ssam2006-08-052-0/+1077
| | | | Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* raw tx statsam2006-08-051-0/+1
|
* raw 802.11 packet transmit supportsam2006-08-052-101/+357
| | | | Joint work with: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* raw 802.11 packet transmit supportsam2006-08-053-31/+148
| | | | Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* Remove reference to PTI cards. They haven't been functioningmjacob2006-08-051-15/+0
| | | | or around for probably at least 5 years.
* Add OpenSolaris compatibility definitions for stat64 and fstat64 whichjb2006-08-041-0/+8
| | | | | | | | | | | | | are only visible if _SOLARIS_C_SOURCE is defined. Note thar FreeBSD stat() and fstat() are 64-bit functions now and Solaris still persists with both 32- and 64-bit versions. When I query this, I am referred to: <http://www.unix.org/version2/whatsnew/lfs20mar.html>. But when you look at the main page of unix.org you will see that the Single Unix Specification <http://www.unix.org/version3/> is the most recent standard they are pushing. And there are no stat64() fstat64() functions defined there. I guess this just goes to prove that there are so many standards, you can take your pick.
* Add a type definition for the cyclic timer callback function.jb2006-08-041-0/+6
| | | | | | | | | | | | | The cyclic timer is a high-resolution timer allows timeouts at nanosecond intervals where hardware support is available. Typically on i386 there is no HPET (high performance event timer) like the one Intel started specifying some time in 2004, so the best that tye cyclic timer subsystem can do is run at Hz. The cyclic timer code itself is ported from OpenSolaris and is covered by the CDDL, so it is only loaded as a module. This function type definition is used in machine-dependent code to provide a hook for the module to register it's callback function.
* Add some OpenSolaris compatibility definitions which are only visiblejb2006-08-041-0/+25
| | | | | | | | | | | | if _SOLARIS_C_SOURCE is defined. Add two function prototypes which are required to feed high-resolution times to DTrace. DTrace requires it's own functions with the dtrace_ prefix so that it knows not to try and trace them. This is a rule that code executed from the DTrace probe context must obey. The two functions are only be compiled if the KDTRACE option is defined to compile in kernel support for loading the DTrace modules.
* Add some compatibility definitions for OpenSolaris source.jb2006-08-041-0/+30
| | | | | | | | | These are only defined if _SOLARIS_C_SOURCE is defined, so they don't polute the FreeBSD compile environment. They are used all over the OpenSolaris source, so defining them here removes the need to continually resolve differences in FreeBSD system haeder files from Solaris header files.
* Fix for architectures where sizeof(void *) > sizeof(int).jb2006-08-041-2/+2
|
* Build shared on PowerPC now that the bug has been found and fixed.marcel2006-08-041-4/+0
|
* The KAME compatability shims in net_osdep.h have been removed.brooks2006-08-041-0/+2
|
* Fix (static) buffer overflow bug. The dest buffer is of size MAXPATHLEN,marcel2006-08-041-1/+1
| | | | | | so dest[MAXPATHLEN] falls outside the buffer. This bug corrupted arenas[0] defined in libc's malloc.c on PowerPC when kldxref is shared, which triggered a delayed SIGSERV.
* With exception of the if_name() macro, all definitions in net_osdep.hbrooks2006-08-0440-411/+1
| | | | | | | | were unused or already in if_var.h so add if_name() to if_var.h and remove net_osdep.h along with all references to it. Longer term we may want to kill off if_name() entierly since all modern BSDs have if_xname variables rendering it unnecessicary.
* Use TAILQ_EMPTY instead of checking if TAILQ_FIRST is NULL.brooks2006-08-041-1/+1
|
* Increase local reserved (high && low) storage in each commandmjacob2006-08-041-1/+1
| | | | structure from 2 to 3 words.
* Fix na_fcentry_t to not have a lun field. Fix indentation in handlymjacob2006-08-043-37/+57
| | | | | | | | | the notify structs. Fix messages in isp_got_msg_fc to print out the loop id of the sender- not the wwpn which will be synthesized later, if possible, in the outer layers. Put in debug printouts to pair a notify ack to a notify so one can see the start/close of an immediate notify event. Put in spsace for TASK MANAGEMENT response flags (which we don't do yet).
* Initialize 2300 request/response pointers in isp_reset- not inmjacob2006-08-041-7/+4
| | | | isp_fibre_init.
* Rename ioctl driven task management functions so theymjacob2006-08-042-6/+10
| | | | | don't collide with task management definitions on other platforms.
* Forgot to add mountlate to the Makefile.des2006-08-041-1/+1
|
* By default "autosrc" is off.glebius2006-08-041-2/+2
| | | | Submitted by: ru
* Copy the link-layer address from our ifnet pointer at reset timegallatin2006-08-041-0/+3
| | | | so that the mac address can be overridden.
* Build libthread_db on PowerPC.marcel2006-08-041-1/+1
|
* Add stub functions. This allows libthread_db to be built and installed,marcel2006-08-042-0/+106
| | | | which means that we also have <thread_db.h>.
* Dont overwrite cpu_model in the case of Via's C3-CPU.mr2006-08-041-1/+2
| | | | | Noticed by: Mike Tancsa MFC after: 2 days
* In symlook_obj(): fix _rtld_error output.delphij2006-08-041-2/+2
| | | | MFC After: 2 weeks
* Turn off by default "feature" that overwrites MAC addressglebius2006-08-041-1/+0
| | | | | | | | on output frames. Many people were confused with not working CARP, ng_bridge(4) and other subsystems, because ng_ether(4) overwritten source MAC address.
* Check if the filedes of kevent is expected one. Though ourume2006-08-041-0/+4
| | | | | | | | | old resolver opened just one socket, BIND9's resolver may open more than one sockets. And, BIND9's resolver doesn't close the socket on timeout. So, we need this check. Reported by: freebsd-cvs-src__at__oldach.net (Helge Oldach), bz Hinted by: rwatson
* Remove useless NULL pointer check: we are using M_WAITOK flag for memoryoleg2006-08-041-4/+0
| | | | | | | | allocation. Submitted by: Andrey Elsukov <bu7cher at yandex dot ru> Approved by: glebius (mentor) MFC after: 1 week
* _close() should be called instead of close() here.ume2006-08-041-2/+6
|
* Commit the results of the typo hunt by Darren Pilgrim.yar2006-08-0426-28/+28
| | | | | | | | | | This change affects documentation and comments only, no real code involved. PR: misc/101245 Submitted by: Darren Pilgrim <darren pilgrim bitfreak org> Tested by: md5(1) MFC after: 1 week
* Use floating point instead of hacking something together. Suggested bynjl2006-08-041-10/+8
| | | | | | bde@. Fix nearby int conversion and a couple style bugs. MFC after: 1 day
* Improve quoting of the S1-S5 states. Suggested by yar@.njl2006-08-041-17/+47
| | | | | | Add a workaround for conflicts between ACPI Cx CPU idling and LAPIC timer. MFC after: 1 day
* The page queues lock is no longer required by vm_page_io_start(). Reducealc2006-08-041-3/+3
| | | | the scope of the page queues lock in kern_sendfile() accordingly.
* When sleeping on a busy page, use the lock from the containing objectalc2006-08-033-18/+15
| | | | rather than the global page queues lock.
* Use proper trap code for the EXC_ALI traps. This fixes SIGBUS duringsobomax2006-08-032-2/+2
| | | | | | unaligned 64-bits load/stores. MFC after: 2 weeks
* Report the correct function name in a DPRINTF.jb2006-08-031-3/+4
|
* Update document date.bms2006-08-031-1/+1
| | | | Noticed by: ru
* Revert back changes to made in rev 1.109 of if_em.c which were unnecessary.pdeuskar2006-08-032-978/+978
| | | | This makes it easier for us to get the changes into -current and to -stable quickly.
* - Fix ncp_poll() to not panic if the socket doesn't have any pending data.jhb2006-08-032-17/+33
| | | | | | | | | | | | | | | | | | | | We have to adjust curthread's state enough so that it appears to be in a poll(2) or select(2) call so that selrecord() will work and then teardown that state after calling sopoll(). - Fix some minor nits in nearby ncp_sock_rselect() and in the identical nbssn_rselect() function in the netsmb code: - Don't call nb_poll()/ncp_poll() now that ncp_poll() already fakes up poll(2) state since the rselect() functions already do that. Just invoke sopoll() directly. - To make things slightly more intuitive, store the results of sopoll() in a new 'revents' variable rather than 'error' since that's what sopoll() actually returns. - If the requested timeout time has been exceeded by the time we get ready to block, then return EWOULDBLOCK rather than 0 to signal a timeout as this is what the calling code expects. Tested by: Eric Christeson <eric.j.christeson AT gmail> (1) MFC after: 1 week
* Should vlan_input() ever be called with ifp pointing to a non-Ethernetyar2006-08-031-4/+5
| | | | | | | | | | | | | interface, do not just assign -1 to tag because it breaks the logic of the code to follow. The better way is to handle this case as an unsupported protocol and return unless INVARIANTS is in effect and we can panic. Panic is good there because the scenario can happen only because of a coding error elsewhere. We also should show the interface name in the panic message for easier debugging of the problem, should it ever emerge. Submitted by: qingli (initially)
* Back out rev. 1.107 because it introduced as many problemsyar2006-08-031-9/+15
| | | | | | | | | | | | | | as it tried to solve: - it smuggled hidden 802.1q details into otherwise protocol-neutral code; - it put an important code consistency check under DEBUG, which was never defined by anyone but a developer hacking this file for the moment; - lastly, the former bcopy() call had been correct as long as the "dead" code was there. (A new version of the fix for tag of -1 to come in the next commit.) Agreed by: qingli
* Merge in new driver from Intel, version 6.0.5. It adds support forglebius2006-08-036-803/+2792
| | | | | | | | | | | | | | | | | | 80003 NICs and NICs found on ICH8 mobos, and improves support for already known chips. Details: - if_em.c. Merged manually, viewing diff between new vendor driver and previous one. This was an easy task, because most changes between 5.1.5 and 6.0.5 are bugfixes taken from FreeBSD. - if_em_hw.h. Dropped in from vendor, and then restored revisions 1.16, 1.17, 1.18. - if_em_hw.c. Dropped in from vendor, and then restored revision 1.15. - if_em_osdep.h. Added new required macros from vendor file and add a hack against define namespace mangling in if_em_hw.h. Intel made another hack, but I prefer mine.
* Add the DTrace library script directory.jb2006-08-031-0/+2
|
* Not allowed to use tabs. The rule that proves the rule. Heh.jb2006-08-031-2/+2
|
* Regen.jb2006-08-032-469/+3254
| | | | Note the addition of the extra file now generated.
OpenPOWER on IntegriCloud