12e54c164Sbeveloper /* 22e54c164Sbeveloper * Copyright 2002, Marcus Overhagen. All rights reserved. 32e54c164Sbeveloper * Distributed under the terms of the MIT License. 42e54c164Sbeveloper */ 52e54c164Sbeveloper 62e54c164Sbeveloper #include <D2A.h> 72e54c164Sbeveloper BD2A()82e54c164SbeveloperBD2A::BD2A() 92e54c164Sbeveloper { 102e54c164Sbeveloper } 112e54c164Sbeveloper 122e54c164Sbeveloper ~BD2A()132e54c164SbeveloperBD2A::~BD2A() 142e54c164Sbeveloper { 152e54c164Sbeveloper } 162e54c164Sbeveloper 172e54c164Sbeveloper 182e54c164Sbeveloper status_t Open(const char * portName)192e54c164SbeveloperBD2A::Open(const char* portName) 202e54c164Sbeveloper { 212e54c164Sbeveloper return B_ERROR; 222e54c164Sbeveloper } 232e54c164Sbeveloper 242e54c164Sbeveloper 252e54c164Sbeveloper void Close()26*d8c2849dSStefano CeccheriniBD2A::Close() 272e54c164Sbeveloper { 282e54c164Sbeveloper } 292e54c164Sbeveloper 302e54c164Sbeveloper 312e54c164Sbeveloper bool IsOpen()32*d8c2849dSStefano CeccheriniBD2A::IsOpen() 332e54c164Sbeveloper { 342e54c164Sbeveloper return false; 352e54c164Sbeveloper } 362e54c164Sbeveloper 372e54c164Sbeveloper 382e54c164Sbeveloper ssize_t Read(uint8 * buf)392e54c164SbeveloperBD2A::Read(uint8* buf) 402e54c164Sbeveloper { 412e54c164Sbeveloper return 0; 422e54c164Sbeveloper } 432e54c164Sbeveloper 442e54c164Sbeveloper 452e54c164Sbeveloper ssize_t Write(uint8 value)462e54c164SbeveloperBD2A::Write(uint8 value) 472e54c164Sbeveloper { 482e54c164Sbeveloper return 0; 492e54c164Sbeveloper } 502e54c164Sbeveloper 512e54c164Sbeveloper 522e54c164Sbeveloper void _ReservedD2A1()532e54c164SbeveloperBD2A::_ReservedD2A1() 542e54c164Sbeveloper { 552e54c164Sbeveloper } 562e54c164Sbeveloper 572e54c164Sbeveloper 582e54c164Sbeveloper void _ReservedD2A2()592e54c164SbeveloperBD2A::_ReservedD2A2() 602e54c164Sbeveloper { 612e54c164Sbeveloper } 622e54c164Sbeveloper 632e54c164Sbeveloper 642e54c164Sbeveloper void _ReservedD2A3()652e54c164SbeveloperBD2A::_ReservedD2A3() 662e54c164Sbeveloper { 672e54c164Sbeveloper } 682e54c164Sbeveloper 692e54c164Sbeveloper 70