Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
#
098ca2bd |
| 06-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
ae9be8d3 |
| 14-Aug-2004 |
Robert Watson <rwatson@FreeBSD.org> |
Since if_sbni doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
866a788c |
| 23-May-2004 |
Maxime Henrion <mux@FreeBSD.org> |
We don't need to initialize if_output, ether_ifattach() does it for us.
|
#
0318355d |
| 15-Apr-2004 |
Luigi Rizzo <luigi@FreeBSD.org> |
Remove improper use of if_addrhead in device drivers to check if the link-level address has been initialized already.
The majority of modern drivers never does this and works fine, which makes me th
Remove improper use of if_addrhead in device drivers to check if the link-level address has been initialized already.
The majority of modern drivers never does this and works fine, which makes me think that the check is totally unnecessary and a residue of cut&paste from other drivers.
This change is done to simplify locking because now almost none of the drivers uses this field. The exceptions are "ct" "ctau" and "cx" where i am not sure if i can remove that part.
show more ...
|
#
e3bbbec2 |
| 14-Mar-2004 |
Matthew N. Dodd <mdodd@FreeBSD.org> |
Announce ethernet MAC addresss in ether_ifattach().
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
9bf40ede |
| 31-Oct-2003 |
Brooks Davis <brooks@FreeBSD.org> |
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance.
T
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics.
Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
show more ...
|
#
c020a92f |
| 30-Oct-2003 |
Brooks Davis <brooks@FreeBSD.org> |
There is no way to enter the attach routine twice with the same softc without a detach call in between so don't try to deal with that possiability.
This is a diff-reduction commit for the upcoming i
There is no way to enter the attach routine twice with the same softc without a detach call in between so don't try to deal with that possiability.
This is a diff-reduction commit for the upcoming if_xname conversion.
show more ...
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
945ff31a |
| 24-Aug-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID(). Also some minor style cleanups.
|
#
cd2f2571 |
| 11-Jul-2003 |
Alexander Kabaev <kan@FreeBSD.org> |
Fix i386 assembly constraints. The same register cannot be in output and clobber lists at the same time.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
a163d034 |
| 19-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
44956c98 |
| 21-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
673d9191 |
| 15-Nov-2002 |
Sam Leffler <sam@FreeBSD.org> |
network interface driver changes:
o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definit
network interface driver changes:
o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) o track ether_ifattach/ether_ifdetach API changes o track bpf changes (use BPF_TAP and BPF_MTAP) o track vlan changes (ifnet capabilities, revised processing scheme, etc.) o use if_input to pass packets "up" o call ether_ioctl for default handling of ioctls
Reviewed by: many Approved by: re
show more ...
|
Revision tags: release/4.7.0_cvs |
|
#
c10b63ba |
| 01-Oct-2002 |
Brooks Davis <brooks@FreeBSD.org> |
Use if_printf() instead of printf() to print "sbni#: blah".
|
#
744ae3e6 |
| 23-Sep-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
use __packed/__aligned rather than GCC-specific __attribute__.
|
Revision tags: release/4.6.2_cvs, release/4.6.2 |
|
#
0d13f401 |
| 05-Aug-2002 |
Max Khon <fjoe@FreeBSD.org> |
Make driver portable: - bus_space'ify - generate fake ethernet address using read_random() instead of reading from timer i/o ports
Other minor fixes: - remove "hack" in connect_to_master() - use M_Z
Make driver portable: - bus_space'ify - generate fake ethernet address using read_random() instead of reading from timer i/o ports
Other minor fixes: - remove "hack" in connect_to_master() - use M_ZERO - remove unused variable in sbni_ioctl() - properly release irq in sbni_attach_isa() on attach errors
show more ...
|
#
cc99b6cf |
| 05-Aug-2002 |
Max Khon <fjoe@FreeBSD.org> |
style fixes
|
Revision tags: release/4.6.1, release/4.6.0_cvs |
|
#
44731cab |
| 01-Apr-2002 |
John Baldwin <jhb@FreeBSD.org> |
Change the suser() API to take advantage of td_ucred as well as do a general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes
Change the suser() API to take advantage of td_ucred as well as do a general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag.
Discussed on: smp@
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
8265abbd |
| 08-Jan-2002 |
Mike Smith <msmith@FreeBSD.org> |
Rename a variable that might accidentally be duplicated elsewhere.
|
#
ea38b939 |
| 21-Nov-2001 |
Max Khon <fjoe@FreeBSD.org> |
Add driver for Granch SBNI12-xx ISA and PCI network adapters.
MFC after: 1 week
|
Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
ceee59fa |
| 10-Sep-2008 |
John Baldwin <jhb@FreeBSD.org> |
Disable the inline assembly crc32 routine and use the C version instead. The assembly version is reported to be broken on 5.x+.
PR: kern/100425 Submitted by: Rashid N. Achilov shelton www.granch.r
Disable the inline assembly crc32 routine and use the C version instead. The assembly version is reported to be broken on 5.x+.
PR: kern/100425 Submitted by: Rashid N. Achilov shelton www.granch.ru MFC after: 1 week
show more ...
|
#
26e46883 |
| 10-Sep-2008 |
John Baldwin <jhb@FreeBSD.org> |
Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and the driver worked ok with them.
Tested by: friends of yar
|
#
5d3f96f7 |
| 04-Jul-2008 |
John Baldwin <jhb@FreeBSD.org> |
Make sbni(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after attaching device to network stack. - Use device_set_desc() rathe
Make sbni(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after attaching device to network stack. - Use device_set_desc() rather than device_quiet() plus a manual printf that simulates the normal probe printf. - Axe next_sbni_unit and instead just leave room for two sbni devices for each bus attachment. - Don't bzero the already-zero'd softc. - Add a detach method to the PCI driver. - Add a lock to protect the list of available devices used to chain interrupt handlers for dual port ISA cards. - Remove unused watchdog routine. - If if_alloc() fails, make sbni_attach() return an error rather than panic'ing. - Consolidate code to free bus resources into sbni_release_resources(). - Clear IFF_DRV_RUNNING|OACTIVE in stop() routine instead of in callers. - Let ether_ioctl() handle SIOCSIFMTU.
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
a031fd45 |
| 05-Jul-2007 |
Peter Wemm <peter@FreeBSD.org> |
Quiet framelen uninitialized warning. I think it was a false alarm. If check_fhdr() returns false, the frame_ok variable should protect any meaningful evaluations of framelen.
Approved by: re (rwat
Quiet framelen uninitialized warning. I think it was a false alarm. If check_fhdr() returns false, the frame_ok variable should protect any meaningful evaluations of framelen.
Approved by: re (rwatson)
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
acd3428b |
| 06-Nov-2006 |
Robert Watson <rwatson@FreeBSD.org> |
Sweep kernel replacing suser(9) calls with priv(9) calls, assigning specific privilege names to a broad range of privileges. These may require some future tweaking.
Sponsored by: nCircle
Sweep kernel replacing suser(9) calls with priv(9) calls, assigning specific privilege names to a broad range of privileges. These may require some future tweaking.
Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project Discussed on: arch@ Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri, Alex Lyashkov <umka at sevcity dot net>, Skip Ford <skip dot ford at verizon dot net>, Antoine Brodin <antoine dot brodin at laposte dot net>
show more ...
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
4a0d6638 |
| 11-Nov-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
- Store pointer to the link-level address right in "struct ifnet" rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except on
- Store pointer to the link-level address right in "struct ifnet" rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except one) ifaddr_byindex() users were converted to use ifp->if_addr.
- Stop storing a (pointer to) Ethernet address in "struct arpcom", and drop the IFP2ENADDR() macro; all users have been converted to use IF_LLADDR() instead.
show more ...
|