]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/device/device_init.c
xnu-517.tar.gz
[apple/xnu.git] / osfmk / device / device_init.c
index ac18239845cb27258a01db7da6b4a64eafba91b7..4200dda487c41cd6e42ee2b30ba2cb09b0aae0d2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -75,8 +75,8 @@ device_service_create(void)
            panic("can't allocate master device port");
 
        ipc_kobject_set(master_device_port, 1, IKOT_MASTER_DEVICE);
-       host_set_io_master(host_priv_self(),
-                          ipc_port_make_send(master_device_port));
+       kernel_set_special_port(host_priv_self(), HOST_IO_MASTER_PORT,
+                               ipc_port_make_send(master_device_port));
 
 #if 0
        ds_init();