CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/02/15 11:02:00

Modified files:
        sys/dev/ic     : adv.c adw.c aic79xx_openbsd.c aic7xxx_openbsd.c 
                         ami.c cac.c iha.c iha.h trm.c twe.c twevar.h 
                         uha.c 

Log message:
*_minphys() functions that cap i/o sizes at a value larger than the
value minphys() uses (MAXPHYS) are pointless since minphys() is always
called after the *_minphys() function.

MAXPHYS (64 * 1024) == 16 * 4096. 4096 is the smallest PAGE_SIZE we
have. So a *_minphys() function that caps the i/o size at N *
PAGE_SIZE where N is > 16 is just wasting cycles.

Nuke adv_minphys (40 * PAGE_SIZE), adw_minphys (254 * PAGE_SIZE),
ahc_minphys (128 * PAGE_SIZE), ahd_minphys (128 * PAGE_SIZE),
ami_minphys (26 * PAGE_SIZE), cac_minphys (65535 (!!!) * 512),
iha_minphsy (32 * PAGE_SIZE), trm_minphys (31 * PAGE_SIZE),
twe_minphys (62 * PAGE_SIZE).  uha_minphys (32 * PAGE_SIZE),

Reply via email to