According to the April 2000 version of the D22 manual there are 8 different variations of engine possible. Here's a chart that lists them all:
Z24S (2WD) - 3.3 litres without, 3.8L with filter change
Z24S (4WD) - 3.8L without, 4.3L with filter change
KA24DE (2WD) - 3.3L without, 3.6L with filter change
KA24DE (4WD) - 3.8L without, 4.1L with filter change
VG30E (2WD) - 3.6L without, 3.9L with filter change
VG30E (4WD) - 3.0L without, 3.3L with filter change
TD25 & TD27 - 5.3L without, 6.0L with filter change
QD32 & TD25Ti - 6.0L without, 6.7L with filter change
Hope that helps. If your engine isn't listed, let us know what you have.