[117] And what, bhikkhus, is consciousness? There are these six classes of consciousness (viññāṇakāyā): eye-consciousness, ear-consciousness, nose-consciousness, tongue-consciousness, body-consciousness, and mind-consciousness. This, bhikkhus, is called consciousness. With the origin of name-and-form (nāmarūpa) there is the origin of consciousness; with the cessation of name-and-form there is the cessation of consciousness. The way of practice leading to the cessation of consciousness is just this Noble Eightfold Path, namely: right view … right concentration (samādhi).
Bhikkhus, whatever ascetics or brahmins, having directly known consciousness thus, having directly known the origin of consciousness thus, having directly known the cessation of consciousness thus, having directly known the way of practice leading to the cessation of consciousness thus, are practising for disenchantment (nibbidā) with consciousness, for its dispassion (virāga), for its cessation — they are practising well. Those who are practising well have gained a foothold in this Dhamma and Discipline.
And, bhikkhus, whatever ascetics or brahmins, having directly known consciousness thus, having directly known the origin of consciousness thus, having directly known the cessation of consciousness thus, having directly known the way of practice leading to the cessation of consciousness thus, are, through disenchantment with consciousness, through dispassion and cessation, liberated by non-clinging — they are well liberated. Those who are well liberated are consummate ones (kebalino). And for those who are consummate ones, there is no round (vaṭṭa) whereby they might be described.
English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.