]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoPoint out that tsleep(... , 0) is not permitted if the Giant lock is not
cperciva [Fri, 7 Jan 2005 02:41:45 +0000 (02:41 +0000)]
Point out that tsleep(... , 0) is not permitted if the Giant lock is not
held.  (It causes a "sleeping without a mutex" assertion failure in
msleep.)

MFC after: 3 days

19 years ago/* -> /*- for license, minor formatting changes, insert COPYRIGHT into files
imp [Fri, 7 Jan 2005 02:35:34 +0000 (02:35 +0000)]
/* -> /*- for license, minor formatting changes, insert COPYRIGHT into files

19 years ago/* -> /*- for license, minor formatting changes, separate for KAME
imp [Fri, 7 Jan 2005 02:30:35 +0000 (02:30 +0000)]
/* -> /*- for license, minor formatting changes, separate for KAME

19 years ago/* -> /*- for license, minor formatting changes
imp [Fri, 7 Jan 2005 02:29:27 +0000 (02:29 +0000)]
/* -> /*- for license, minor formatting changes

19 years agoAdd FreeBSD tag
imp [Fri, 7 Jan 2005 02:28:28 +0000 (02:28 +0000)]
Add FreeBSD tag

19 years ago/* -> /*- for license, minor formatting changes
imp [Fri, 7 Jan 2005 01:45:51 +0000 (01:45 +0000)]
/* -> /*- for license, minor formatting changes

19 years agoWrite some bit mask limits in hex rather than decimal so they look less
brooks [Fri, 7 Jan 2005 01:21:23 +0000 (01:21 +0000)]
Write some bit mask limits in hex rather than decimal so they look less
magic.

19 years agoReturn correct value in the lock routine.
grehan [Fri, 7 Jan 2005 01:08:39 +0000 (01:08 +0000)]
Return correct value in the lock routine.

19 years agoThese are no longer relevant. They are scripts for extracting hints
imp [Fri, 7 Jan 2005 00:54:35 +0000 (00:54 +0000)]
These are no longer relevant.  They are scripts for extracting hints
from 4.x kernel config files.  User's wishing to upgrade from 4.x to 6
will need to go through 5.x, or grab this script from there.  These
scripts will remain in RELENG_5...

19 years agoThis is no longer supported, so remove it from the tree.
imp [Fri, 7 Jan 2005 00:51:18 +0000 (00:51 +0000)]
This is no longer supported, so remove it from the tree.

19 years ago/* -> /*- for copyright notices, minor format tweaks as necessary
imp [Fri, 7 Jan 2005 00:24:33 +0000 (00:24 +0000)]
/* -> /*- for copyright notices, minor format tweaks as necessary

19 years agoUse 64bit 'fts_bignum' field instead of 32bit (on 32bit archs) field
pjd [Fri, 7 Jan 2005 00:12:24 +0000 (00:12 +0000)]
Use 64bit 'fts_bignum' field instead of 32bit (on 32bit archs) field
'fts_number' to remember number of blocks.
This makes du(1) 64bit-clean.

This work is part of the BigDisk project:

http://www.FreeBSD.org/projects/bigdisk/

Discussed on: arch@
MFC after: 5 days

19 years agoIntroduce new field 'fts_bignum' which is 64bit long and will allow to
pjd [Fri, 7 Jan 2005 00:06:20 +0000 (00:06 +0000)]
Introduce new field 'fts_bignum' which is 64bit long and will allow to
make utilities like du(1) 64bit-clean.
When this field is used, one cannot use 'fts_number' and 'fts_pointer'
fields.

This commit doesn't break API nor ABI.

This work is part of the BigDisk project:

http://www.FreeBSD.org/projects/bigdisk/

Discussed on: arch@
MFC after: 5 days

19 years agoWe no longer recurse the mutex.
phk [Fri, 7 Jan 2005 00:02:11 +0000 (00:02 +0000)]
We no longer recurse the mutex.

19 years agoIf we get an interrupt and the interface is down, return before we
phk [Fri, 7 Jan 2005 00:01:43 +0000 (00:01 +0000)]
If we get an interrupt and the interface is down, return before we
grab the lock.  This should help a tiny bit on machines where unused
if_sis interfaces share IRQ.

19 years agoDon't tweak DSP on the ..16 chips.
phk [Thu, 6 Jan 2005 23:56:13 +0000 (23:56 +0000)]
Don't tweak DSP on the ..16 chips.

19 years agoFix for an issue with excessive collisions in half duplex mode.
phk [Thu, 6 Jan 2005 23:54:55 +0000 (23:54 +0000)]
Fix for an issue with excessive collisions in half duplex mode.

19 years agoNail the short cable problem the exact way National says it should be.
phk [Thu, 6 Jan 2005 23:49:26 +0000 (23:49 +0000)]
Nail the short cable problem the exact way National says it should be.

19 years agoSimplify and fix bugs in rx/tx ring cleanup.
phk [Thu, 6 Jan 2005 23:36:43 +0000 (23:36 +0000)]
Simplify and fix bugs in rx/tx ring cleanup.

19 years ago/* -> /*- for copyright notices, minor format tweaks as necessary
imp [Thu, 6 Jan 2005 23:35:40 +0000 (23:35 +0000)]
/* -> /*- for copyright notices, minor format tweaks as necessary

19 years agoExpand COPYRIGHT inline, per Matthew Dillon's earlier approval.
imp [Thu, 6 Jan 2005 23:34:38 +0000 (23:34 +0000)]
Expand COPYRIGHT inline, per Matthew Dillon's earlier approval.

19 years agoRewrite the rx/tx ring initialization to use pointers instead of arrays.
phk [Thu, 6 Jan 2005 23:31:41 +0000 (23:31 +0000)]
Rewrite the rx/tx ring initialization to use pointers instead of arrays.

19 years agoEliminate a bunch of unnecessary prototypes.
phk [Thu, 6 Jan 2005 23:26:13 +0000 (23:26 +0000)]
Eliminate a bunch of unnecessary prototypes.

19 years agoMove the module related stuff to the bottom of the file. This will
phk [Thu, 6 Jan 2005 23:22:38 +0000 (23:22 +0000)]
Move the module related stuff to the bottom of the file.  This will
allow us to save prototypes.

19 years ago/* -> /*- for license, add FreeBSD tag
imp [Thu, 6 Jan 2005 23:22:04 +0000 (23:22 +0000)]
/* -> /*- for license, add FreeBSD tag

19 years agoMake sure to clear any pending interrupts when we stop the interface.
phk [Thu, 6 Jan 2005 23:18:44 +0000 (23:18 +0000)]
Make sure to clear any pending interrupts when we stop the interface.

19 years agoClose a theoretical race: By the time the watchdog comes around
phk [Thu, 6 Jan 2005 23:13:50 +0000 (23:13 +0000)]
Close a theoretical race:  By the time the watchdog comes around
the interface may have been stopped, so we should not restart it.

19 years ago/* -> /*- for copyright notices, minor format tweaks as necessary
imp [Thu, 6 Jan 2005 22:18:23 +0000 (22:18 +0000)]
/* -> /*- for copyright notices, minor format tweaks as necessary

19 years agoRemove left over include file from stallion driver.
imp [Thu, 6 Jan 2005 22:07:20 +0000 (22:07 +0000)]
Remove left over include file from stallion driver.

19 years agoExpand indirect reference to BSD license with the current one.
imp [Thu, 6 Jan 2005 22:05:28 +0000 (22:05 +0000)]
Expand indirect reference to BSD license with the current one.

19 years agoThis doesn't seem to have been used since 386BSD days
imp [Thu, 6 Jan 2005 22:00:50 +0000 (22:00 +0000)]
This doesn't seem to have been used since 386BSD days

19 years agoBit 0 of td_flags is now used by the priority borrowing flag, so remove
jhb [Thu, 6 Jan 2005 21:11:05 +0000 (21:11 +0000)]
Bit 0 of td_flags is now used by the priority borrowing flag, so remove
the unused placeholder constant.

19 years agoRevise the part of vm_pageout_scan() that moves pages from the cache
alc [Thu, 6 Jan 2005 20:22:36 +0000 (20:22 +0000)]
Revise the part of vm_pageout_scan() that moves pages from the cache
queue to the free queue.  With this change, if a page from the cache
queue belongs to a locked object, it is simply skipped over rather
than moved to the inactive queue.

19 years ago/* -> /*- for copyright notices, minor format tweaks as necessary
imp [Thu, 6 Jan 2005 18:27:30 +0000 (18:27 +0000)]
/* -> /*- for copyright notices, minor format tweaks as necessary

19 years agoAdd dol FreeBSD dol and /*+ize license
imp [Thu, 6 Jan 2005 18:27:09 +0000 (18:27 +0000)]
Add dol FreeBSD dol and /*+ize license

19 years ago/* -> /*- for copyright notices, minor format tweaks as necessary
imp [Thu, 6 Jan 2005 18:10:42 +0000 (18:10 +0000)]
/* -> /*- for copyright notices, minor format tweaks as necessary

19 years agoIntroduce new startup level SI_SUB_NETGRAPH that is after
emax [Thu, 6 Jan 2005 17:45:03 +0000 (17:45 +0000)]
Introduce new startup level SI_SUB_NETGRAPH that is after
SI_SUB_INIT_IF but before SI_SUB_DRIVERS. Make Netgraph(4)
framework initialize at SI_SUB_NETGRAPH level.

This does not address the bigger problem: MODULE_DEPEND
does not seem to work when modules are compiled in the
kernel, but it fixes the problem with Netgraph Bluetooth
device drivers reported by a few folks.

PR: i386/69876
Reviewed by: julian, rik, scottl
MFC after: 3 days

19 years agoUse .Fn function_name
keramida [Thu, 6 Jan 2005 17:33:38 +0000 (17:33 +0000)]
Use .Fn function_name

MFC after: 3 days

19 years agoUse .Fn function_name
keramida [Thu, 6 Jan 2005 17:25:11 +0000 (17:25 +0000)]
Use .Fn function_name

MFC after: 3 days

19 years agoProperly cross-reference pccard(4).
keramida [Thu, 6 Jan 2005 17:19:56 +0000 (17:19 +0000)]
Properly cross-reference pccard(4).

MFC after: 3 days

19 years ago- Use .Fn for marking up function-like macro names.
keramida [Thu, 6 Jan 2005 17:17:29 +0000 (17:17 +0000)]
- Use .Fn for marking up function-like macro names.
- Improve the wording in a few places.
- Add the email address of Doug Rabson in the AUTHORS section.
- Link to devfs(5) with an .Xr

MFC after: 3 days

19 years ago. Use a .Bl list for describing macro arguments.
keramida [Thu, 6 Jan 2005 17:16:01 +0000 (17:16 +0000)]
. Use a .Bl list for describing macro arguments.
. Various wordign fixes.
. Bump document date.

MFC after: 3 days

19 years ago. Use a -tag instead of an -inset list, which makes the arguments of the
keramida [Thu, 6 Jan 2005 17:14:21 +0000 (17:14 +0000)]
. Use a -tag instead of an -inset list, which makes the arguments of the
  macro stand out more clearly.
. Various other wording fixes.
. Bump document date.

19 years agoUse .Fn function_name.
keramida [Thu, 6 Jan 2005 17:11:56 +0000 (17:11 +0000)]
Use .Fn function_name.

MFC after: 3 days

19 years agoAdd missing .It in list tag.
keramida [Thu, 6 Jan 2005 17:08:51 +0000 (17:08 +0000)]
Add missing .It in list tag.

MFC after: 3 days

19 years agoFix .Nd description and bump document date.
keramida [Thu, 6 Jan 2005 17:07:57 +0000 (17:07 +0000)]
Fix .Nd description and bump document date.

MFC after: 3 days

19 years ago"non-spin" is better with a dash, than without.
keramida [Thu, 6 Jan 2005 16:16:17 +0000 (16:16 +0000)]
"non-spin" is better with a dash, than without.

19 years agoUnbreak the tinderbox, make this compile.
maxim [Thu, 6 Jan 2005 12:29:10 +0000 (12:29 +0000)]
Unbreak the tinderbox, make this compile.

19 years agoRemove trailing spaces.
krion [Thu, 6 Jan 2005 11:12:43 +0000 (11:12 +0000)]
Remove trailing spaces.

19 years agoDocument the -V and -U options in usage().
philip [Thu, 6 Jan 2005 08:38:29 +0000 (08:38 +0000)]
Document the -V and -U options in usage().

Submitted by: Jordan Sissel <psionic@csh.rit.edu>

19 years agoClear PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN for broken hardware.
simokawa [Thu, 6 Jan 2005 07:40:34 +0000 (07:40 +0000)]
Clear PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN for broken hardware.
Some amd64 laptops fail to boot with these flags.

PR: kern/75482

19 years agoModules on PPC need to be compiled with -mlongcall to get around
grehan [Thu, 6 Jan 2005 06:26:11 +0000 (06:26 +0000)]
Modules on PPC need to be compiled with -mlongcall to get around
the +/-64k blr offset limitation. With gcc bug #12769 fixed, it's
time to put enable this.

19 years agoMake this compile from the last commit
scottl [Thu, 6 Jan 2005 05:30:44 +0000 (05:30 +0000)]
Make this compile from the last commit

19 years agoReturn ETIMEDOUT when thread is timeouted since POSIX thread
davidxu [Thu, 6 Jan 2005 02:08:34 +0000 (02:08 +0000)]
Return ETIMEDOUT when thread is timeouted since POSIX thread
APIs expect ETIMEDOUT not EAGAIN, this simplifies userland code a
bit.

19 years agoStart each of the license/copyright comments with /*-, minor shuffle of lines
imp [Thu, 6 Jan 2005 01:43:34 +0000 (01:43 +0000)]
Start each of the license/copyright comments with /*-, minor shuffle of lines

19 years agoadd copyright notice to something I wrote that didn't have one
imp [Thu, 6 Jan 2005 01:36:28 +0000 (01:36 +0000)]
add copyright notice to something I wrote that didn't have one

19 years agoStart each of the license/copyright comments with /*-
imp [Thu, 6 Jan 2005 01:34:41 +0000 (01:34 +0000)]
Start each of the license/copyright comments with /*-

19 years agoEarly spring cleaning:
trhodes [Thu, 6 Jan 2005 01:27:55 +0000 (01:27 +0000)]
Early spring cleaning:

Unhook lomac(4) manual page and remove it.  The code was removed by
rwatson over two years ago.

19 years agoStart each of the license/copyright comments with /*-
imp [Wed, 5 Jan 2005 23:35:00 +0000 (23:35 +0000)]
Start each of the license/copyright comments with /*-

19 years agoIf the NFS/TCP stream is out of sync between the client and server,
ps [Wed, 5 Jan 2005 23:21:13 +0000 (23:21 +0000)]
If the NFS/TCP stream is out of sync between the client and server,
and if the client (erroneously) reads the RPC length as 0 bytes, the
client can loop around in the socket callback. Explicitly check for
the length being 0 case and teardown/re-connect.

Submitted by: Mohan Srinivasan

19 years agoStart each of the license/copyright comments with /*-
imp [Wed, 5 Jan 2005 22:34:37 +0000 (22:34 +0000)]
Start each of the license/copyright comments with /*-

19 years agoTypo.
jhb [Wed, 5 Jan 2005 22:33:11 +0000 (22:33 +0000)]
Typo.

19 years agoAlign if else if properly
phk [Wed, 5 Jan 2005 22:28:24 +0000 (22:28 +0000)]
Align if else if properly

19 years agoStyle: new-speak functions, remove pointless "return".
phk [Wed, 5 Jan 2005 22:23:03 +0000 (22:23 +0000)]
Style: new-speak functions, remove pointless "return".

19 years ago- Move the function prototypes for kern_setrlimit() and kern_wait() to
jhb [Wed, 5 Jan 2005 22:19:44 +0000 (22:19 +0000)]
- Move the function prototypes for kern_setrlimit() and kern_wait() to
  sys/syscallsubr.h where all the other kern_foo() prototypes live.
- Resort kern_execve() while I'm there.

19 years agoStart each of the license/copyright comments with /*-
imp [Wed, 5 Jan 2005 22:16:58 +0000 (22:16 +0000)]
Start each of the license/copyright comments with /*-

19 years agoRemove obsolete note about the boot loader not being ready for stable.
imp [Wed, 5 Jan 2005 22:16:10 +0000 (22:16 +0000)]
Remove obsolete note about the boot loader not being ready for stable.
It has been in stable for at least 5 years now.

19 years agoMake an attempt at explaining why sx(9) locks cannot be safely obtained
keramida [Wed, 5 Jan 2005 22:04:12 +0000 (22:04 +0000)]
Make an attempt at explaining why sx(9) locks cannot be safely obtained
after acquiring a mutex(9).

PR: docs/75571
Submitted by: darrenr
Explanation by: jhb

19 years agoStart all license statements with /*-
imp [Wed, 5 Jan 2005 21:58:49 +0000 (21:58 +0000)]
Start all license statements with /*-

19 years agoClarify /*- convention.
imp [Wed, 5 Jan 2005 21:27:01 +0000 (21:27 +0000)]
Clarify /*- convention.

19 years agoRework the optimization for spinlocks on UP to be slightly less drastic and
jhb [Wed, 5 Jan 2005 21:13:27 +0000 (21:13 +0000)]
Rework the optimization for spinlocks on UP to be slightly less drastic and
turn it back on.  Specifically, the actual changes are now less intrusive
in that the _get_spin_lock() and _rel_spin_lock() macros now have their
contents changed for UP vs SMP kernels which centralizes the changes.
Also, UP kernels do not use _mtx_lock_spin() and no longer include it.  The
UP versions of the spin lock functions do not use any atomic operations,
but simple compares and stores which allow mtx_owned() to still work for
spin locks while removing the overhead of atomic operations.

Tested on: i386, alpha

19 years agoThese appear to be unused in our tree, so remove them.
imp [Wed, 5 Jan 2005 20:50:31 +0000 (20:50 +0000)]
These appear to be unused in our tree, so remove them.

19 years agoBegin all license/copyright comments with /*-
imp [Wed, 5 Jan 2005 20:17:21 +0000 (20:17 +0000)]
Begin all license/copyright comments with /*-

19 years agoPC98 will never be defined for amd64
imp [Wed, 5 Jan 2005 20:11:13 +0000 (20:11 +0000)]
PC98 will never be defined for amd64

19 years agoFix KASSERT inversion that was introduced in 1.150, resulting in instant
keramida [Wed, 5 Jan 2005 20:10:05 +0000 (20:10 +0000)]
Fix KASSERT inversion that was introduced in 1.150, resulting in instant
panic curlen != 0, which is perfectly normal.

Approved by: mux

19 years agoAdd support for Chase/Perle PCI FAST-4 4 port serial cards which appear
wilko [Wed, 5 Jan 2005 20:06:04 +0000 (20:06 +0000)]
Add support for Chase/Perle PCI FAST-4 4 port serial cards which appear
to be the same as Boca Research Turbo Serial 654 (4 serial port).
While add the 8 port variants as well.

Submitted by: sten@blinkenlights.nl
PR: kern/75793
MFC after: 1 week

19 years agoBegin all license/copyright comments with /*- or #-
imp [Wed, 5 Jan 2005 20:05:52 +0000 (20:05 +0000)]
Begin all license/copyright comments with /*- or #-

19 years agoA large majority of the source files in the tree start their license
imp [Wed, 5 Jan 2005 19:16:01 +0000 (19:16 +0000)]
A large majority of the source files in the tree start their license
and copyright statements in a comment that begins with /*-.  Document
this tradition.  A strict adherence to this rule will help resellers
that wish to publish all copyright notices, generated automatically
from the tree.  There are too many variant licenses to do it purely
by more complicated pattern matching.

19 years agoStart all license/copyright notice comments with /*-, per tradition
imp [Wed, 5 Jan 2005 19:10:48 +0000 (19:10 +0000)]
Start all license/copyright notice comments with /*-, per tradition

19 years agoChanges corresponding to the 9.1.5.2 release of twa on the 3ware website.
vkashyap [Wed, 5 Jan 2005 19:04:28 +0000 (19:04 +0000)]
Changes corresponding to the 9.1.5.2 release of twa on the 3ware website.
The main changes are:
1. Use of multiple bus dma tags.
2. Timing of CAM requests by the driver.
3, Firmware interface change relating to retrieving AEN's.
4. Removal of twa_intrhook.
5. Bundling of latest firmware with BBU capability.

Reviewed by:re
Approved by:re

19 years agoAdd forgotten -a to the usage() message.
le [Wed, 5 Jan 2005 18:41:54 +0000 (18:41 +0000)]
Add forgotten -a to the usage() message.

19 years agoTeach sdpd(8) about 32-bit and 128-bit uuid's.
emax [Wed, 5 Jan 2005 18:37:37 +0000 (18:37 +0000)]
Teach sdpd(8) about 32-bit and 128-bit uuid's.

MFC after: 3 days

19 years agoRemove an unnecessary defination of New_Chunk, which has been
delphij [Wed, 5 Jan 2005 14:07:31 +0000 (14:07 +0000)]
Remove an unnecessary defination of New_Chunk, which has been
defined in libdisk.h.

19 years agoAdd a usb category for USB PRs.
ceri [Wed, 5 Jan 2005 12:13:10 +0000 (12:13 +0000)]
Add a usb category for USB PRs.

Requested by: Craig Rodrigues on behalf of usb@
MFC After: 1 day

19 years agoFix a typo in comment.
cognet [Wed, 5 Jan 2005 11:52:40 +0000 (11:52 +0000)]
Fix a typo in comment.

Reviewed by: mux (mentor)

19 years agoMake sis_initl() take a typed argument.
phk [Wed, 5 Jan 2005 10:26:12 +0000 (10:26 +0000)]
Make sis_initl() take a typed argument.
Expect caller to lock before calling sis_stop()
Various style stuff.

19 years agoAdd locked/unlocked variants of sis_init()
phk [Wed, 5 Jan 2005 10:11:37 +0000 (10:11 +0000)]
Add locked/unlocked variants of sis_init()

19 years agoMake a locked and unlocked variant of sis_start()
phk [Wed, 5 Jan 2005 10:04:45 +0000 (10:04 +0000)]
Make a locked and unlocked variant of sis_start()

19 years agoo Add -4 and -6 flags to a man page and usage(). Bump the man page
maxim [Wed, 5 Jan 2005 09:59:38 +0000 (09:59 +0000)]
o Add -4 and -6 flags to a man page and usage().  Bump the man page
date.

19 years agoRemove trailing spaces.
krion [Wed, 5 Jan 2005 09:52:12 +0000 (09:52 +0000)]
Remove trailing spaces.

Forgotten by: me

19 years agoo Remove -t flag from getopt(3), it was killed in rev. 1.15 three
maxim [Wed, 5 Jan 2005 09:47:10 +0000 (09:47 +0000)]
o Remove -t flag from getopt(3), it was killed in rev. 1.15 three
years ago.

19 years agoDon't declare variables "register", the compiler ought to know what to do.
phk [Wed, 5 Jan 2005 09:02:05 +0000 (09:02 +0000)]
Don't declare variables "register", the compiler ought to know what to do.

19 years ago- Initial revamp of vop_table.tcl. This scripting is ugly and will be
arr [Wed, 5 Jan 2005 06:53:03 +0000 (06:53 +0000)]
- Initial revamp of vop_table.tcl.  This scripting is ugly and will be
  cleaned up; just wanted to make a place holder.  The biggest issue is
  that it is an incomplete revamp; that is... the inconsistent naming
  table generation is not done yet ... will be added soon with the clean
  up.  The purpose of this script is to handle the vop_vector changes that
  phk@ did over the recent weeks.

19 years agoAdd needed synchronization to the error handling code that was introduced
alc [Wed, 5 Jan 2005 05:32:52 +0000 (05:32 +0000)]
Add needed synchronization to the error handling code that was introduced
in revision 1.141.

Lock assertion failures reported by: Kris Kennaway

19 years agoo Use tab instead of spaces for puc(4) line.
kuriyama [Wed, 5 Jan 2005 05:25:21 +0000 (05:25 +0000)]
o Use tab instead of spaces for puc(4) line.
o Use capitalized "Ethernet" for consistency.

19 years ago- add new supported chips: 82541ER and 82546GB
brueffer [Wed, 5 Jan 2005 04:31:00 +0000 (04:31 +0000)]
- add new supported chips: 82541ER and 82546GB
- add the long supported, but still missing 82545
- change .Nd to look better (no need to mention FreeBSD there)
- bump .Dd

MFC after: 3 days

19 years agoFix comment. One of the two "Step 4" shuold be a "step 5"
julian [Wed, 5 Jan 2005 01:04:35 +0000 (01:04 +0000)]
Fix comment. One of the two "Step 4" shuold be a "step 5"

19 years agoDisable checksum offloading by default. It seems to produce corrupted packets
cognet [Wed, 5 Jan 2005 00:06:15 +0000 (00:06 +0000)]
Disable checksum offloading by default. It seems to produce corrupted packets
with some revisions of the chip (particularly when using multiple TX
descriptors).

MFC after: 1 week

19 years agoInstead of keeping track of the index into the receive ring use the already
phk [Tue, 4 Jan 2005 22:39:35 +0000 (22:39 +0000)]
Instead of keeping track of the index into the receive ring use the already
implemented "sis_nextdesc" pointer to keep a pointer instead.

19 years agoForget about the sis_list_data and sis_ring_data structures and embedd
phk [Tue, 4 Jan 2005 22:25:58 +0000 (22:25 +0000)]
Forget about the sis_list_data and sis_ring_data structures and embedd
their fields directly in the softc structure.

This is a no-op which shortens most of the affected source lines
by N * 10 characters.