With the advent of G3/CDMA modems, the old buffer sizes are no longer

adequate.  Increase them to 1k.  The referenced PR made this a sysctl,
but that seems like overkill to me.  The difference between 320 and
2048 bytes in modern systems, even embedded ones, seems to be in the
noise to be worth the extra hair to make it settable.

PR: 74609
Submitted by: Divacky Roman
Approved by: re (blanket)
This commit is contained in:
Warner Losh 2007-06-28 05:50:14 +00:00
parent dc0c82bc3f
commit e9da08f2eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171074

View File

@ -132,11 +132,11 @@ static const struct umodem_product {
/*
* These are the maximum number of bytes transferred per frame.
* If some really high speed devices should use this driver they
* may need to be increased, but this is good enough for normal modems.
* As speeds for umodem deivces increase, these numbers will need to
* be increased. They should be good for G3 speeds and below.
*/
#define UMODEMIBUFSIZE 64
#define UMODEMOBUFSIZE 256
#define UMODEMIBUFSIZE 1024
#define UMODEMOBUFSIZE 1024
#define UMODEM_MODVER 1 /* module version */