summaryrefslogtreecommitdiff
path: root/Kernel/Bus/USB/USBController.cpp
blob: 2733767c5a6f2d4319622c5a75d21c8e40ca67b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <Kernel/Bus/USB/USBController.h>

namespace Kernel::USB {

u8 USBController::allocate_address()
{
    // FIXME: This can be smarter.
    return m_next_device_index++;
}

}