Print this page
3644 Add virtio-net support into the Illumos
Reviewed by: Alexey Zaytsev, alexey.zaytsev@gmail.com
Reviewed by: Yuri Pankov, yuri.pankov@nexenta.com
Reviewed by: David Hoppner, 0xffea@gmail.com

@@ -1406,10 +1406,13 @@
 
 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioblk/%.c
         $(COMPILE.c) -o $@ $<
         $(CTFCONVERT_O)
 
+$(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioif/%.c
+        $(COMPILE.c) -o $@ $<
+        $(CTFCONVERT_O)
 #
 # krtld must refer to its own bzero/bcopy until the kernel is fully linked
 #
 $(OBJS_DIR)/bootrd.o            := CPPFLAGS += -DKOBJ_OVERRIDES
 $(OBJS_DIR)/doreloc.o           := CPPFLAGS += -DKOBJ_OVERRIDES

@@ -2651,10 +2654,13 @@
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/vioblk/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
+$(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/vioif/%.c
+        @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
 ZMODLINTFLAGS = -erroff=E_CONSTANT_CONDITION
 
 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/zmod/%.c
         @($(LHEAD) $(LINT.c) $(ZMODLINTFLAGS) $< $(LTAIL))